CMake: quiet warnigns with 3.0

This commit is contained in:
Campbell Barton 2014-06-11 13:46:19 +10:00
parent ddf5ef0401
commit da7bdf1b47
Notes: blender-bot 2023-02-13 12:04:40 +01:00
Referenced by commit a08275c86a, Revert "CMake: quiet warnings with 3.0"
1 changed files with 2 additions and 0 deletions

View 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")