2
0
Christophe Riccio 15 жил өмнө
parent
commit
3481b82b6b
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  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()