Simplify check for CMake policy CMP0054

Related to #1367.
master
Rolf Eike Beer ago%!(EXTRA string=7 years) committed by Camilla Löwy
parent bb2ca1da13
commit df7f36a316
  1. 2
      CMakeLists.txt

@ -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…
Cancel
Save