summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-24 12:49:53 +0100
committerMontel Laurent <[email protected]>2017-11-24 12:49:53 +0100
commit7a61c0b32d7eefba9a3e8df56a3efcd5d26a6b22 (patch)
treebf37884f5c61ea3844b6ee8f2f2fad78abe70625
parent24bf924c821db298d701910e9c9d2fc6cd71e98c (diff)
Build when we use BUILD_TESTINGv17.11.90
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a098c44..413bfea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,6 +112,8 @@ install(FILES
)
add_subdirectory(src)
-add_subdirectory(autotests)
+if(BUILD_TESTING)
+ add_subdirectory(autotests)
+endif()
install( FILES mailcommon.renamecategories mailcommon.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)