Skip to content
Snippets Groups Projects
Commit de419418 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'cmake-4.0-compat' into 'master'

CMake 4.0 compatibility: raise minimum cmake versions to 3.5.

See merge request !268
parents bb4249ee e2803951
No related branches found
No related tags found
1 merge request!268CMake 4.0 compatibility: raise minimum cmake versions to 3.5.
......@@ -46,7 +46,7 @@
#
#===========================================================================
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.5)
#if already found via finder or simulated finder in openmesh CMakeLists.txt, skip the search
IF (NOT OPENMESH_FOUND)
......
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.5)
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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment