@@ -2,7 +2,6 @@ include(FindPkgConfig)
2pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=3)
2pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=3)
3pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=1)
3pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=1)
4pkg_check_modules(GSETTINGS_QT REQUIRED gsettings-qt)
4pkg_check_modules(GSETTINGS_QT REQUIRED gsettings-qt)
5−pkg_check_modules(UPSTART_APP_LAUNCH REQUIRED upstart-app-launch-2)
7add_definitions(-DSM_BUSNAME=systemBus)
6add_definitions(-DSM_BUSNAME=systemBus)
@@ -10,7 +9,6 @@ include_directories(
10 ${CMAKE_CURRENT_SOURCE_DIR}
9 ${CMAKE_CURRENT_SOURCE_DIR}
11 ${CMAKE_SOURCE_DIR}/plugins/AccountsService
10 ${CMAKE_SOURCE_DIR}/plugins/AccountsService
12 ${GSETTINGS_QT_INCLUDE_DIRS}
11 ${GSETTINGS_QT_INCLUDE_DIRS}
13− ${UPSTART_APP_LAUNCH_INCLUDE_DIRS}
16set(QMLLAUNCHERPLUGIN_SRC
14set(QMLLAUNCHERPLUGIN_SRC
@@ -30,10 +28,8 @@ add_library(UnityLauncher-qml MODULE
30 ${QMLLAUNCHERPLUGIN_SRC}
28 ${QMLLAUNCHERPLUGIN_SRC}
33−target_link_libraries(UnityLauncher-qml
31+target_link_libraries(UnityLauncher-qml ${GSETTINGS_QT_LDFLAGS})
34− ${GSETTINGS_QT_LDFLAGS}
32+
35− ${UPSTART_APP_LAUNCH_LDFLAGS}
37qt5_use_modules(UnityLauncher-qml DBus Qml)
33qt5_use_modules(UnityLauncher-qml DBus Qml)
39add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)
35add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)