From d6fcbdc38ba75b262a52886f0cfe15d6602e7763 Mon Sep 17 00:00:00 2001 From: Arkady Shapkin Date: Sun, 7 May 2017 00:02:52 +0300 Subject: [PATCH] Move CMAKE_LEGACY_CYGWIN_WIN32 to its proper place Closes #1006. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67b13332..5f3bedfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ -set(CMAKE_LEGACY_CYGWIN_WIN32 OFF) +cmake_minimum_required(VERSION 2.8.12) project(GLFW C) -cmake_minimum_required(VERSION 2.8.12) +set(CMAKE_LEGACY_CYGWIN_WIN32 OFF) if (NOT CMAKE_VERSION VERSION_LESS "3.0") # Until all major package systems have moved to CMake 3,