From 0d75cc553b584c0b5d55016af51a6fa9994ca49d Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 18 Mar 2019 20:44:37 +0100 Subject: build: Fix CMake policy setting The CMake policy setting was set to 3.13, which doesn't work on older CMake versions. The setting is now set to use the default policy of the installed version. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1483dd76..9585ad2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.12.2) -cmake_policy(VERSION 3.13) +cmake_policy(VERSION ${CMAKE_VERSION}) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") -- cgit v1.2.3