diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d41a5b2b..9d8fa8cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,7 +205,11 @@ endif () add_subdirectory (src) -add_subdirectory (tests) +if (NNG_TESTS) + enable_testing() + set(all_tests, "") + add_subdirectory (tests) +endif() # Build the tools |
