CMake: bump the minimal required version to 3.5 master
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 12 Dec 2023 13:20:36 +0000 (14:20 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 21 Dec 2023 15:14:35 +0000 (16:14 +0100)
Older CMake versions are treated as deprecated.

CMakeLists.txt
examples/cmake_example/CMakeLists.txt

index 985e658..2ce1ad4 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 
 message(STATUS "CMake version: ${CMAKE_VERSION}")
 
index 36002df..7d60693 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 
 project ( example C )