Stop setting CMake policy 0042
https://cmake.org/cmake/help/latest/policy/CMP0042.html No longer necessary since CMake 3.0
This commit is contained in:
parent
1e6dc82304
commit
89a0489a44
@ -13,8 +13,6 @@ endmacro()
|
|||||||
# determine whether to create a debug or release build
|
# determine whether to create a debug or release build
|
||||||
sfml_set_option(CMAKE_BUILD_TYPE Release STRING "Choose the type of build (Debug or Release)")
|
sfml_set_option(CMAKE_BUILD_TYPE Release STRING "Choose the type of build (Debug or Release)")
|
||||||
|
|
||||||
# Suppress Mac OS X RPATH warnings and adopt new related behaviors
|
|
||||||
cmake_policy(SET CMP0042 NEW)
|
|
||||||
if (NOT CMAKE_VERSION VERSION_LESS 3.9)
|
if (NOT CMAKE_VERSION VERSION_LESS 3.9)
|
||||||
cmake_policy(SET CMP0068 NEW)
|
cmake_policy(SET CMP0068 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user