We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37112e4 + f748510 commit 7d3e3cdCopy full SHA for 7d3e3cd
CMakeLists.txt
@@ -1,5 +1,6 @@
1
-cmake_minimum_required(VERSION 3.6 FATAL_ERROR)
2
-cmake_policy(VERSION 3.6)
+# 3.6 is the actual minimun. 3.14 as the upper policy limit avoids CMake deprecation warnings.
+cmake_minimum_required(VERSION 3.6...3.14 FATAL_ERROR)
3
+cmake_policy(VERSION 3.6...3.14)
4
5
file(READ "glm/detail/setup.hpp" GLM_SETUP_FILE)
6
string(REGEX MATCH "#define[ ]+GLM_VERSION_MAJOR[ ]+([0-9]+)" _ ${GLM_SETUP_FILE})
0 commit comments