From 62d1abe491e39dcb6f0bc7f218779d81ad5a8ab2 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Fri, 4 Mar 2022 22:55:49 -0700 Subject: [PATCH] Stop setting CMake policy 0068 https://cmake.org/cmake/help/latest/policy/CMP0068.html No longer necessary since CMake 3.9 --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3c80b178..dac4254b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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