From 3481b82b6b796b4e0c6d2794880601a3924798cc Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 3 Feb 2011 23:58:24 +0000 Subject: [PATCH] Added developer option --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e0007705..524241dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,5 +8,9 @@ add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_subdirectory(glm) add_subdirectory(doc) +option(GLM_DEVELOPMENT_MODE "GLM development" OFF) +if(NOT GLM_DEVELOPMENT_MODE) + message(FATAL_ERROR "GLM is a header only library, no need to build it") +endif()