Commit c5688277 authored by Nicolas Fella's avatar Nicolas Fella

merge two if(SAILFISHOS) calls

parent ae7a3693
Pipeline #9544 passed with stage
in 16 minutes and 3 seconds
......@@ -85,17 +85,8 @@ option(PRIVATE_DBUS_ENABLED "Use private dbus session for kdeconnect" OFF)
if(PRIVATE_DBUS_ENABLED OR APPLE)
add_compile_definitions(USE_PRIVATE_DBUS)
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(interfaces)
add_subdirectory(data)
......@@ -103,11 +94,10 @@ add_subdirectory(plugins)
add_subdirectory(cli)
add_subdirectory(declarativeplugin)
if(KF5Runner_FOUND)
add_subdirectory(runners)
endif()
if (NOT SAILFISHOS)
if(NOT SAILFISHOS)
add_subdirectory(kcm)
add_subdirectory(kcmplugin)
add_subdirectory(daemon)
add_subdirectory(app)
add_subdirectory(indicator)
add_subdirectory(urlhandler)
......@@ -118,12 +108,21 @@ if (NOT SAILFISHOS)
if(BUILD_TESTING)
add_subdirectory(tests)
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()
add_subdirectory(sfos)
endif()
if(KF5DocTools_FOUND)
add_subdirectory(doc)
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