From 89a0489a445ad4f116493ec83e164fc47800e09b Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Fri, 4 Mar 2022 22:22:32 -0700 Subject: [PATCH] Stop setting CMake policy 0042 https://cmake.org/cmake/help/latest/policy/CMP0042.html No longer necessary since CMake 3.0 --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0191f2dd..e3c80b178 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +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)") -# Suppress Mac OS X RPATH warnings and adopt new related behaviors -cmake_policy(SET CMP0042 NEW) if (NOT CMAKE_VERSION VERSION_LESS 3.9) cmake_policy(SET CMP0068 NEW) endif()