~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 12:36:29 UTC
  • Revision ID: michael.terry@canonical.com-20140529123629-dhdady6h3oguihft
Handle short appIds in launcher data

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)
5
6
 
6
7
add_definitions(-DSM_BUSNAME=systemBus)
7
8
 
9
10
    ${CMAKE_CURRENT_SOURCE_DIR}
10
11
    ${CMAKE_SOURCE_DIR}/plugins/AccountsService
11
12
    ${GSETTINGS_QT_INCLUDE_DIRS}
 
13
    ${UPSTART_APP_LAUNCH_INCLUDE_DIRS}
12
14
)
13
15
 
14
16
set(QMLLAUNCHERPLUGIN_SRC
28
30
    ${QMLLAUNCHERPLUGIN_SRC}
29
31
    )
30
32
 
31
 
target_link_libraries(UnityLauncher-qml ${GSETTINGS_QT_LDFLAGS})
32
 
 
 
33
target_link_libraries(UnityLauncher-qml
 
34
    ${GSETTINGS_QT_LDFLAGS} 
 
35
    ${UPSTART_APP_LAUNCH_LDFLAGS}
 
36
)
33
37
qt5_use_modules(UnityLauncher-qml DBus Qml)
34
38
 
35
39
add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)