diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0db2d0c..416f274 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,3 +7,9 @@ OPTION(BUILD_TOOLS "Build tools" ON) IF(BUILD_TOOLS) ADD_SUBDIRECTORY(tools) ENDIF() + +OPTION(BUILD_TESTS "Build tests" ON) +IF(BUILD_TESTS) + ENABLE_TESTING() + ADD_SUBDIRECTORY(test) +ENDIF() |
