From d7c124a03d5b8c8d2515cc536c3419c9cf9f463f Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Sat, 20 Mar 2021 14:01:07 +0100 Subject: [PATCH] fix 'Compatibility with CMake < 2.8.12 will be removed' warning. Signed-off-by: Steffen Pankratz 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 value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9771bb88..829f12af 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)