CMakeLists.txt: bump CMake version to 3.15
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 2 Apr 2025 08:12:34 +0000 (10:12 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 4 Apr 2025 16:00:33 +0000 (18:00 +0200)
This change fixes the following warning on the latest CMake versions:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version
  of CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max>
  syntax to tell CMake that the project requires at least <min> but has been
  updated to work with policies introduced by <max> or earlier.

CMakeLists.txt

index 949cbf4..90a1b6d 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
 
 message(STATUS "CMake version: ${CMAKE_VERSION}")