diff options
| -rw-r--r-- | CMakeLists.txt | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/CMakeLists.txt b/CMakeLists.txt index a92d621f..f3f751e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,11 @@ set(ECM_PATCH_VERSION 14)  set(ECM_VERSION ${ECM_MAJOR_VERSION}.${ECM_MINOR_VERSION}.${ECM_PATCH_VERSION}) -enable_testing() -add_subdirectory(tests) +option(BUILD_TESTING "Build automated tests." ON) +if(BUILD_TESTING) +    enable_testing() +    add_subdirectory(tests) +endif()  set(SHARE_INSTALL_DIR share)  set(MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/modules/) | 
