Suggestion update minimum to 3.13

For the upcoming 3.4 release why not update the CMake minimum?

3.13 came out Nov 21, 2018

Currently CMake 3.20 is out. Glfw is 19 versions behind.

3.13 brings a lot of quality of life updates for users.
This commit is contained in:
Juan Ramos 2021-03-04 21:39:13 -05:00
parent 2c7f3ce91b
commit 8b593281fe

View File

@ -1,21 +1,14 @@
cmake_minimum_required(VERSION 3.1...3.17 FATAL_ERROR)
cmake_minimum_required(VERSION 3.13...3.17 FATAL_ERROR)
project(GLFW VERSION 3.4.0 LANGUAGES C)
project(GLFW
VERSION 3.4.0
DESCRIPTION "Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development."
HOMEPAGE_URL "https://www.glfw.org/"
LANGUAGES C
)
set(CMAKE_LEGACY_CYGWIN_WIN32 OFF)
if (POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
if (POLICY CMP0069)
cmake_policy(SET CMP0069 NEW)
endif()
if (POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")