Skip to content
Snippets Groups Projects
Commit 864ec0b4 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] VERSION_GREATER_EQUAL is not avail. before CMake 3.7.

parent 170520cd
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ if(OGS_BUILD_GUI) ...@@ -64,7 +64,7 @@ if(OGS_BUILD_GUI)
add_definitions(-DOGS_BUILD_GUI) add_definitions(-DOGS_BUILD_GUI)
# TODO: Remove when this is fixed in CMake, maybe in 3.10 # TODO: Remove when this is fixed in CMake, maybe in 3.10
# https://gitlab.kitware.com/cmake/cmake/issues/17205 # https://gitlab.kitware.com/cmake/cmake/issues/17205
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.9.0) if(${CMAKE_VERSION} VERSION_GREATER 3.8.2)
message(FATAL_ERROR "OGS_BUILD_GUI is not supported with CMake 3.9.x. Please downgrade CMake to 3.8.x!") message(FATAL_ERROR "OGS_BUILD_GUI is not supported with CMake 3.9.x. Please downgrade CMake to 3.8.x!")
endif() endif()
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment