Added development option, through an error message to user who want to build GLM

This commit is contained in:
Christophe Riccio 2011-02-03 23:48:49 +00:00
parent 6d162e9a34
commit a6d1c4266e

View File

@ -19,5 +19,8 @@ add_subdirectory(test)
add_subdirectory(bench) add_subdirectory(bench)
add_subdirectory(doc) 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()