Move CMAKE_LEGACY_CYGWIN_WIN32 to its proper place

Closes #1006.
This commit is contained in:
Arkady Shapkin 2017-05-07 00:02:52 +03:00 committed by Camilla Löwy
parent f737e8ce9f
commit d6fcbdc38b

View File

@ -1,8 +1,8 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 OFF) cmake_minimum_required(VERSION 2.8.12)
project(GLFW C) project(GLFW C)
cmake_minimum_required(VERSION 2.8.12) set(CMAKE_LEGACY_CYGWIN_WIN32 OFF)
if (NOT CMAKE_VERSION VERSION_LESS "3.0") if (NOT CMAKE_VERSION VERSION_LESS "3.0")
# Until all major package systems have moved to CMake 3, # Until all major package systems have moved to CMake 3,