Refactor add test cmake code
This commit is contained in:
parent
9d3789e7fd
commit
0836195f4b
1 changed files with 4 additions and 4 deletions
|
@ -106,6 +106,10 @@ if (NOT SAILFISHOS)
|
||||||
add_subdirectory(nautilus-extension)
|
add_subdirectory(nautilus-extension)
|
||||||
add_subdirectory(fileitemactionplugin)
|
add_subdirectory(fileitemactionplugin)
|
||||||
add_subdirectory(smsapp)
|
add_subdirectory(smsapp)
|
||||||
|
|
||||||
|
if(BUILD_TESTING)
|
||||||
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
add_subdirectory(sfos)
|
add_subdirectory(sfos)
|
||||||
endif()
|
endif()
|
||||||
|
@ -123,8 +127,4 @@ if(KF5DocTools_FOUND)
|
||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_TESTING AND NOT SAILFISHOS)
|
|
||||||
add_subdirectory(tests)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
|
|
Loading…
Reference in a new issue