From 2f5ed067b02f9c503d0a55aa7d0e5f2563f72254 Mon Sep 17 00:00:00 2001
From: Stefan Bienert <stefan.bienert@unibas.ch>
Date: Thu, 18 Sep 2014 16:09:53 +0200
Subject: [PATCH] CMake options
---
CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 355a54ea..8fc6f636 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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].*")
--
GitLab