merge two if(SAILFISHOS) calls
This commit is contained in:
parent
ae7a3693d5
commit
c568827735
1 changed files with 18 additions and 19 deletions
|
@ -85,17 +85,8 @@ option(PRIVATE_DBUS_ENABLED "Use private dbus session for kdeconnect" OFF)
|
||||||
if(PRIVATE_DBUS_ENABLED OR APPLE)
|
if(PRIVATE_DBUS_ENABLED OR APPLE)
|
||||||
add_compile_definitions(USE_PRIVATE_DBUS)
|
add_compile_definitions(USE_PRIVATE_DBUS)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(core)
|
|
||||||
if(NOT SAILFISHOS)
|
|
||||||
add_subdirectory(kcm)
|
|
||||||
add_subdirectory(kcmplugin)
|
|
||||||
add_subdirectory(daemon)
|
|
||||||
if(NOT WIN32)
|
|
||||||
add_subdirectory(kio)
|
|
||||||
add_subdirectory(plasmoid)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
add_subdirectory(core)
|
||||||
add_subdirectory(icon)
|
add_subdirectory(icon)
|
||||||
add_subdirectory(interfaces)
|
add_subdirectory(interfaces)
|
||||||
add_subdirectory(data)
|
add_subdirectory(data)
|
||||||
|
@ -103,11 +94,10 @@ add_subdirectory(plugins)
|
||||||
add_subdirectory(cli)
|
add_subdirectory(cli)
|
||||||
add_subdirectory(declarativeplugin)
|
add_subdirectory(declarativeplugin)
|
||||||
|
|
||||||
if(KF5Runner_FOUND)
|
if(NOT SAILFISHOS)
|
||||||
add_subdirectory(runners)
|
add_subdirectory(kcm)
|
||||||
endif()
|
add_subdirectory(kcmplugin)
|
||||||
|
add_subdirectory(daemon)
|
||||||
if (NOT SAILFISHOS)
|
|
||||||
add_subdirectory(app)
|
add_subdirectory(app)
|
||||||
add_subdirectory(indicator)
|
add_subdirectory(indicator)
|
||||||
add_subdirectory(urlhandler)
|
add_subdirectory(urlhandler)
|
||||||
|
@ -118,12 +108,21 @@ if (NOT SAILFISHOS)
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT WIN32)
|
||||||
|
add_subdirectory(kio)
|
||||||
|
add_subdirectory(plasmoid)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(KF5Runner_FOUND)
|
||||||
|
add_subdirectory(runners)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(KF5DocTools_FOUND)
|
||||||
|
add_subdirectory(doc)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
add_subdirectory(sfos)
|
add_subdirectory(sfos)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(KF5DocTools_FOUND)
|
|
||||||
add_subdirectory(doc)
|
|
||||||
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