diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6102f7b4..945198c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,9 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG add_subdirectory(src) -add_subdirectory(autotests) +if (BUILD_TESTING) + add_subdirectory(autotests) +endif() include (ECMPoQmTools) if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") |