aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-14 20:55:00 +0200
committerEgor Tensin <egor@tensin.name>2026-06-14 21:13:27 +0200
commitb7854ae53353fc45703fb6df13855dd731aea818 (patch)
treeabf82dd438e763f38e1ce319bc61afe1978faf5f
parentscripts/build.ps1: add WDK version as a parameter (diff)
downloadwindows7-drivers-b7854ae53353fc45703fb6df13855dd731aea818.tar.gz
windows7-drivers-b7854ae53353fc45703fb6df13855dd731aea818.zip
cmake: more precise minimum version detection
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0da434d..7725cb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,11 @@
-cmake_minimum_required(VERSION 3.1)
+if(DEFINED ENV{APPVEYOR})
+ # Required because the image used (Visual Studio 2013) ships with a CMake
+ # version that really is too old.
+ cmake_minimum_required(VERSION 3.12)
+else()
+ # oldstable as of May '26.
+ cmake_minimum_required(VERSION 3.25)
+endif()
project(win7drv CXX)