CMake: quiet warnigns with 3.0
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jun 2014 03:46:19 +0000 (13:46 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jun 2014 03:46:19 +0000 (13:46 +1000)
CMakeLists.txt

index 738518235d56fa29b5e7a2a92fe25361338e47a8..e862afd4785f4cfe1ce05861b9074b812a741639 100644 (file)
@@ -46,6 +46,8 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
 endif()
 
 cmake_minimum_required(VERSION 2.8)
+# keep until CMake-3.0 is min requirement
+cmake_policy(SET CMP0043 OLD)
 
 if(NOT EXECUTABLE_OUTPUT_PATH)
        set(FIRST_RUN "TRUE")