Browse Source

Merge branch '0.9.0' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.0

Christophe Riccio 15 years ago
parent
commit
7b8ac51ea3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      CMakeLists.txt

+ 4 - 0
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()