1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

Simplify check for CMake policy CMP0054

Related to #1367.
This commit is contained in:
Rolf Eike Beer 2018-10-30 13:23:39 +01:00 committed by Camilla Löwy
parent bb2ca1da13
commit df7f36a316

View File

@ -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()