summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-06-19 15:29:01 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-06-19 15:29:01 +0200
commitb4db65d2463a0fd2c30d280b5491b3b435aaba56 (patch)
tree021f1eb74ef317c1bb3ec092ae5fb552564d5e2a
parentaf141191656f06cfd8bca793efc37ba5c32f7793 (diff)
downloadlogdiag-b4db65d2463a0fd2c30d280b5491b3b435aaba56.tar.gz
logdiag-b4db65d2463a0fd2c30d280b5491b3b435aaba56.tar.xz
logdiag-b4db65d2463a0fd2c30d280b5491b3b435aaba56.zip
CMakeLists.txt: bump minimum version to 2.8.12
To silence a deprecation warning. We should still be fine with this version.
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0744d5..7bead1c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,8 +1,9 @@
project (logdiag C)
-cmake_minimum_required (VERSION 2.8)
+# The last version with Windows XP support is 3.13, we want to keep that
+cmake_minimum_required (VERSION 2.8.12)
-# Default to 2.8 behaviour
-cmake_policy (VERSION 2.8)
+# Default to 2.8.12 behaviour
+cmake_policy (VERSION 2.8.12)
# Options
option (OPTION_USE_VERA "Use vera++ for source code style checks" OFF)