mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
Stop setting CMake policy 0068
https://cmake.org/cmake/help/latest/policy/CMP0068.html No longer necessary since CMake 3.9
This commit is contained in:
parent
89a0489a44
commit
62d1abe491
@ -13,10 +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)")
|
||||||
|
|
||||||
if (NOT CMAKE_VERSION VERSION_LESS 3.9)
|
|
||||||
cmake_policy(SET CMP0068 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT CMAKE_OSX_SYSROOT)
|
if(NOT CMAKE_OSX_SYSROOT)
|
||||||
# query the path to the default SDK, will fail on non-macOS, but it's okay.
|
# query the path to the default SDK, will fail on non-macOS, but it's okay.
|
||||||
execute_process(COMMAND xcodebuild -sdk macosx -version Path
|
execute_process(COMMAND xcodebuild -sdk macosx -version Path
|
||||||
|
Loading…
Reference in New Issue
Block a user