kdeconnect-kde/kcm/CMakeLists.txt

30 lines
729 B
CMake
Raw Normal View History

2014-09-08 02:09:18 +01:00
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kcm")
2013-06-19 15:15:25 +01:00
2015-04-09 11:52:56 +01:00
find_package(KF5KCMUtils 5.9 REQUIRED)
include_directories(${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR})
set(kcm_SRCS
2013-06-19 15:15:25 +01:00
kcm.cpp
2013-06-25 17:08:34 +01:00
)
2013-06-19 15:15:25 +01:00
2014-09-08 02:09:18 +01:00
ki18n_wrap_ui(kcm_SRCS kcm.ui)
2013-06-19 15:15:25 +01:00
add_library(kcm_kdeconnect MODULE ${kcm_SRCS})
2013-06-19 15:15:25 +01:00
target_link_libraries(kcm_kdeconnect
Qt5::Core
Qt5::Gui
2014-09-22 08:35:40 +01:00
KF5::I18n
KF5::KCMUtils
kdeconnectinterfaces
)
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
2013-06-19 15:15:25 +01:00
2015-09-15 01:03:31 +01:00
install(FILES org.kde.kdeconnect.kcm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})