mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
CMake: simply check for existence of policy CMP0054
This commit is contained in:
parent
5595fa3ae6
commit
7f7cd81f7c
@ -4,7 +4,7 @@ project(GLFW C)
|
||||
|
||||
set(CMAKE_LEGACY_CYGWIN_WIN32 OFF)
|
||||
|
||||
if (NOT CMAKE_VERSION VERSION_LESS "3.1")
|
||||
if (POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user