Remove setting of CMake policy CMP0054

This policy is already set to NEW by requiring CMake 3.4.

Related to #2256
This commit is contained in:
Juan Ramos 2023-01-21 11:30:13 -07:00 committed by Camilla Löwy
parent 8f470597d6
commit e0ae1c45df

View File

@ -4,10 +4,6 @@ project(GLFW VERSION 3.4.0 LANGUAGES C)
set(CMAKE_LEGACY_CYGWIN_WIN32 OFF) set(CMAKE_LEGACY_CYGWIN_WIN32 OFF)
if (POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
if (POLICY CMP0069) if (POLICY CMP0069)
cmake_policy(SET CMP0069 NEW) cmake_policy(SET CMP0069 NEW)
endif() endif()