GLM_TEST_ENABLE Option enabled by default to build GLM unit tests. Disable this option to disable testing #788

This commit is contained in:
Groove
2018-07-29 18:20:43 +02:00
parent 09fb7dedbe
commit d307d39019
2 changed files with 8 additions and 5 deletions

View File

@@ -7,10 +7,12 @@ function(glmCreateTestGTC NAME)
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
endfunction()
add_subdirectory(bug)
add_subdirectory(core)
add_subdirectory(ext)
add_subdirectory(gtc)
add_subdirectory(gtx)
if(GLM_TEST_ENABLE)
add_subdirectory(bug)
add_subdirectory(core)
add_subdirectory(ext)
add_subdirectory(gtc)
add_subdirectory(gtx)
endif()