diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d30e1fd5..b22a544d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,6 +106,10 @@ if (NOT SAILFISHOS) add_subdirectory(nautilus-extension) add_subdirectory(fileitemactionplugin) add_subdirectory(smsapp) + + if(BUILD_TESTING) + add_subdirectory(tests) + endif() else() add_subdirectory(sfos) endif() @@ -123,8 +127,4 @@ if(KF5DocTools_FOUND) add_subdirectory(doc) endif() -if(BUILD_TESTING AND NOT SAILFISHOS) - add_subdirectory(tests) -endif() - feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)