diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-03-18 20:44:37 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2019-03-18 21:00:29 +0100 |
commit | 0d75cc553b584c0b5d55016af51a6fa9994ca49d (patch) | |
tree | a84eed2d94ef76ac9f04607ccab3b8c40641d7f7 | |
parent | d90baa0a3e74f768079bff0bf09972c6ad721988 (diff) | |
download | ouroboros-0d75cc553b584c0b5d55016af51a6fa9994ca49d.tar.gz ouroboros-0d75cc553b584c0b5d55016af51a6fa9994ca49d.zip |
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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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") |