From 3dabf413de8affb279ac00d575784149092fcf7a Mon Sep 17 00:00:00 2001 From: Achim Kraus Date: Wed, 19 Aug 2026 07:49:13 +0200 Subject: [PATCH 1/2] Update cmake min version. Some features of cmake before 3.10 will not be longer supported by cmake. Signed-off-by: Achim Kraus --- CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbfe4041..98a0b6e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ # ############################################################################### -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(tinydtls) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5bf6f54a..46b8bbcc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -19,7 +19,7 @@ # ############################################################################### -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(tinydtls-tests) From 43736f20c5c691e4107a275626f50ca12dcf4b5c Mon Sep 17 00:00:00 2001 From: Achim Kraus Date: Fri, 4 Sep 2026 16:06:01 +0200 Subject: [PATCH 2/2] Add cmake languages. issue #284 Signed-off-by: Achim Kraus --- CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98a0b6e5..4ed8edf3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 3.10) -project(tinydtls) +project(tinydtls LANGUAGES C ) include (AutoConf.cmake) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 46b8bbcc..6f431041 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 3.10) -project(tinydtls-tests) +project(tinydtls-tests LANGUAGES C ) add_executable(dtls-server dtls-server.c dtls_ciphers_util.c) target_link_libraries(dtls-server LINK_PUBLIC tinydtls)