From b4db65d2463a0fd2c30d280b5491b3b435aaba56 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 19 Jun 2021 15:29:01 +0200 Subject: CMakeLists.txt: bump minimum version to 2.8.12 To silence a deprecation warning. We should still be fine with this version. --- CMakeLists.txt | 7 ++++--- 1 file 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) -- cgit v1.2.3-70-g09d2