We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fddae77 commit 7ab72f7Copy full SHA for 7ab72f7
CMakeLists.txt
@@ -32,7 +32,14 @@
32
# most uses of this product, it is expected to be cross-compiling for
33
# the target platform on a development system, meaning that we are not
34
# constrained by the version of CMake available on target systems.
35
-cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
+
36
+if (WIN32)
37
+ # Use a newer version of CMake on Windows, so we are NEW for
38
+ # https://cmake.org/cmake/help/latest/policy/CMP0149.html
39
+ cmake_minimum_required(VERSION 3.27 FATAL_ERROR)
40
+else()
41
+ cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
42
+endif()
43
44
set(CMAKE_PROJECT_VERSION 0.7.0)
45
0 commit comments