mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-04-22 00:22:57 +00:00
Compare commits
2 Commits
c3570a4c94
...
eb57ee8e03
Author | SHA1 | Date | |
---|---|---|---|
|
eb57ee8e03 | ||
|
fa6b5e2985 |
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8.12...3.5)
|
||||
cmake_minimum_required(VERSION 2.8.12...4.0)
|
||||
|
||||
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/config/version _VERSION_MAJOR_STRING REGEX "GLEW_MAJOR[ ]*=[ ]*[0-9]+.*")
|
||||
string(REGEX REPLACE "GLEW_MAJOR[ ]*=[ ]*([0-9]+)" "\\1" MAJOR_VERSION ${_VERSION_MAJOR_STRING})
|
||||
|
Loading…
Reference in New Issue
Block a user