Skip to content
Snippets Groups Projects
Commit 2f5ed067 authored by Bienchen's avatar Bienchen Committed by BIOPZ-Johner Niklaus
Browse files

CMake options

parent 42853f07
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@ set(PROMOD3_VERSION_MINOR 1)
set(PROMOD3_VERSION_PATCH 0)
set(PROMOD3_VERSION_STRING ${PROMOD3_VERSION_MAJOR}.${PROMOD3_VERSION_MINOR}.${PROMOD3_VERSION_PATCH})
option(DISABLE_DOCUMENTATION "whether to compile with shader support" OFF)
option(DISABLE_DISABLE_DOCTEST "whether to compile with shader support" OFF)
option(DISABLE_DISABLE_LINKCHECK "whether to compile with shader support" OFF)
if (CMAKE_COMPILER_IS_GNUCXX)
exec_program(gcc ARGS --version OUTPUT_VARIABLE CMAKE_C_COMPILER_VERSION)
if(CMAKE_C_COMPILER_VERSION MATCHES ".*4\\.[5-9].*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment