Commit 0836195f authored by Nicolas Fella's avatar Nicolas Fella

Refactor add test cmake code

parent 9d3789e7
Pipeline #9542 passed with stage
in 15 minutes and 52 seconds
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment