~mterry/unity8/split

« back to all changes in this revision

Viewing changes to plugins/Unity/Launcher/CMakeLists.txt

  • Committer: Michael Terry
  • Date: 2014-05-29 14:10:46 UTC
  • Revision ID: michael.terry@canonical.com-20140529141046-72xhsg7apf4s4uhd
undo accidental commits

Show diffs side-by-side

added added

removed removed

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