~ubuntu-branches/ubuntu/vivid/muon/vivid-proposed

« back to all changes in this revision

Viewing changes to .pc/upstream_git/0014-Coding-style-issues-in-cmake.patch/updater/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2014-04-09 11:38:49 UTC
  • Revision ID: package-import@ubuntu.com-20140409113849-e82p5u55t7ux1jrv
Tags: 2.1.70-0ubuntu4
* Import more upstream commits (no. 14-23) improving l10n and notifications
  LP: #1295423
* Update muon-notifier.install for revised notifier (missed in previous
  uploads).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(../libmuon)
 
2
 
 
3
set(muon_updater_SRCS
 
4
    main.cpp
 
5
    MainWindow.cpp
 
6
    ChangelogWidget.cpp
 
7
    ProgressWidget.cpp
 
8
    UpdaterWidget.cpp
 
9
    KActionMessageWidget.cpp
 
10
    UpdateModel/UpdateItem.cpp
 
11
    UpdateModel/UpdateModel.cpp
 
12
    UpdateModel/UpdateDelegate.cpp
 
13
    config/UpdaterSettingsDialog.cpp)
 
14
 
 
15
kde4_add_ui_files(muon_updater_SRCS ProgressWidget.ui
 
16
                                    UpdaterCentralWidget.ui
 
17
                                    UpdaterWidgetNoUpdates.ui
 
18
)
 
19
 
 
20
kde4_add_executable(muon-updater ${muon_updater_SRCS})
 
21
 
 
22
target_link_libraries(muon-updater muonprivate
 
23
                                   ${KDE4_KIO_LIBS}
 
24
                                   ${KDE4_SOLID_LIBS})
 
25
 
 
26
if (ENABLE_QZEITGEIST)
 
27
    target_link_libraries(muon-updater ${QZEITGEIST_LIBRARY})
 
28
endif (ENABLE_QZEITGEIST)
 
29
 
 
30
install(TARGETS muon-updater ${INSTALL_TARGETS_DEFAULT_ARGS} )
 
31
 
 
32
########### install files ###############
 
33
 
 
34
install( FILES muon-updaterui.rc  DESTINATION  ${DATA_INSTALL_DIR}/muon-updater )
 
35
install( PROGRAMS muon-updater.desktop  DESTINATION ${XDG_APPS_INSTALL_DIR} )
 
36