mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-04-22 00:22:57 +00:00
Merge fa6b5e2985
into 0d1debf37f
This commit is contained in:
commit
eb57ee8e03
@ -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