fix 'Compatibility with CMake < 2.8.12 will be removed' warning.

Signed-off-by: Steffen Pankratz <kratz00@gmx.de>

Original warning:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
This commit is contained in:
Steffen Pankratz
2021-03-20 14:01:07 +01:00
parent 86b700c834
commit d7c124a03d
+1 -1
View File
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
file(STRINGS "VERSION" VERSION)