diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 738518235d5..0ab31ddefb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,11 @@ endif() cmake_minimum_required(VERSION 2.8) +if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) + # keep until CMake-3.0 is min requirement + cmake_policy(SET CMP0043 OLD) +endif() + if(NOT EXECUTABLE_OUTPUT_PATH) set(FIRST_RUN "TRUE") endif() |