1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
commit 52f5dc4c70a10dfe4125642b1357d4dfadcd9e92
Author: François Trahay <francois.trahay@telecom-sudparis.eu>
Date: Fri Apr 25 17:23:48 2025 +0200
update cmake minimum required version to 3.18 so that cmake > 4.0 can compile
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7535b1..6359046 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.1)
+cmake_minimum_required (VERSION 3.18)
project(LiTL
VERSION 0.2.0
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9abfbfd..80c9661 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.18)
configure_file (
${CMAKE_CURRENT_SOURCE_DIR}/litl_config.h.in
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index 25e767a..a314a95 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.18)
add_executable(litl_print litl_print.c )
add_executable(litl_merge litl_merge.c )
|