CMake: quite warnings with 3.0 (without breaking < 3.0 CMakes)

This commit is contained in:
Campbell Barton 2014-06-11 02:59:03 -03:00 committed by Dalai Felinto
parent a8a536d23d
commit bd43ac04a5

@ -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()