CMakeLists.txt: bump minimum version to 2.8.12

To silence a deprecation warning.

We should still be fine with this version.
This commit is contained in:
Přemysl Eric Janouch 2021-06-19 15:29:01 +02:00
parent af14119165
commit b4db65d246
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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)