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:
Chris Thrasher 2022-03-04 22:55:49 -07:00 committed by Lukas Dürrenberger
parent 89a0489a44
commit 62d1abe491

View File

@ -13,10 +13,6 @@ endmacro()
# 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)")
if (NOT CMAKE_VERSION VERSION_LESS 3.9)
cmake_policy(SET CMP0068 NEW)
endif()
if(NOT CMAKE_OSX_SYSROOT)
# query the path to the default SDK, will fail on non-macOS, but it's okay.
execute_process(COMMAND xcodebuild -sdk macosx -version Path