aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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)