Skip to content

Commit ac12d4d

Browse files
authored
Merge pull request #70 from Perlmint/feature/cmake4
Update policy max version to supress warning
2 parents 5ee099a + 9e8e33c commit ac12d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12...3.5)
1+
cmake_minimum_required(VERSION 2.8.12...4.0)
22

33
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/config/version _VERSION_MAJOR_STRING REGEX "GLEW_MAJOR[ ]*=[ ]*[0-9]+.*")
44
string(REGEX REPLACE "GLEW_MAJOR[ ]*=[ ]*([0-9]+)" "\\1" MAJOR_VERSION ${_VERSION_MAJOR_STRING})

0 commit comments

Comments
 (0)