CMakeLists.txt 753 Bytes
Newer Older
Martin Flöser's avatar
Martin Flöser committed
1
# KI18N Translation Domain for this library
2
add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_workspace\")
Marco Martin's avatar
Marco Martin committed
3

4
5
6
7
########### next target ###############
set(kcm_workspace_SRCS
  workspaceoptions.cpp
)
Marco Martin's avatar
Marco Martin committed
8

9
add_library(kcm_workspace MODULE ${kcm_workspace_SRCS})
Marco Martin's avatar
Marco Martin committed
10

11
12
13
14
15
target_link_libraries(kcm_workspace
    KF5::QuickAddons
    KF5::I18n
    KF5::ConfigWidgets
    KF5::Declarative
16
17
18
    KF5::KDELibs4Support

    Qt5::DBus
19
)
Marco Martin's avatar
Marco Martin committed
20

21
kcoreaddons_desktop_to_json(kcm_workspace "kcm_workspace.desktop" SERVICE_TYPES kcmodule.desktop)
Marco Martin's avatar
Marco Martin committed
22
23

########### install files ###############
24
25
install( FILES kcm_workspace.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kcm_workspace DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
Marco Martin's avatar
Marco Martin committed
26

27
kpackage_install_package(package kcm_workspace kcms)