~ubuntu-branches/ubuntu/vivid/quassel/vivid-updates

« back to all changes in this revision

Viewing changes to src/uisupport/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Michael Marley
  • Date: 2015-02-19 07:42:04 UTC
  • mfrom: (1.1.59)
  • Revision ID: package-import@ubuntu.com-20150219074204-vu1qv4i0devi2j2t
Tags: 0.12~beta1-0ubuntu1
[ Michael Marley ]
* New upstream kf5 based beta release
  - Drop patches debian/patches/CVE-2014-8483.patch,
    upstream_qca-qt5-cmake.patch and upstream_qca-qt5-code.patch
  - Add kf5 build-deps
  - Adjust install paths
* Fix upstart job to avoid race conditions on restart

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Builds the uisupport module
2
2
 
3
3
set(SOURCES
 
4
    aboutdata.cpp
4
5
    abstractbuffercontainer.cpp
5
6
    abstractitemview.cpp
6
7
    action.cpp
17
18
    flatproxymodel.cpp
18
19
    fontselector.cpp
19
20
    graphicalui.cpp
20
 
    icon.cpp
21
 
    iconloader.cpp
22
21
    multilineedit.cpp
23
22
    networkmodelcontroller.cpp
24
23
    nickview.cpp
36
35
    abstractnotificationbackend.h
37
36
)
38
37
 
39
 
if (KDE4_FOUND)
 
38
if (WITH_KDE4)
40
39
    include_directories(${KDE4_INCLUDES})
41
40
    add_definitions(-DHAVE_KDE ${KDE4_DEFINITIONS})
42
41
    set(SOURCES ${SOURCES} kcmdlinewrapper.cpp)
53
52
add_library(mod_uisupport STATIC ${SOURCES})
54
53
qt_use_modules(mod_uisupport Core Gui Network ${qt_modules})
55
54
 
56
 
if (KDE4_FOUND)
 
55
target_link_libraries(mod_uisupport mod_client mod_common)
 
56
 
 
57
if (WITH_KDE4)
57
58
    target_link_libraries(mod_uisupport ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY})
58
59
endif()
59
60
 
60
 
add_dependencies(mod_uisupport mod_common mod_client)
 
61
if (WITH_KF5)
 
62
    target_link_libraries(mod_uisupport KF5::CoreAddons KF5::TextWidgets KF5::XmlGui)
 
63
endif()