diff --git a/CMakeLists.txt b/CMakeLists.txt index db4774d0..1ab29af1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,5 +19,8 @@ add_subdirectory(test) add_subdirectory(bench) 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()