002848efa8
This is complicated by the Qt 5.6 requirement of SailfishOS, hopefully that didn't get broken by this.
19 lines
499 B
CMake
19 lines
499 B
CMake
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kcm")
|
|
|
|
|
|
add_library(kcm_kdeconnect MODULE kcm.cpp)
|
|
|
|
ki18n_wrap_ui(kcm_kdeconnect kcm.ui)
|
|
kcoreaddons_desktop_to_json(kcm_kdeconnect "kcm_kdeconnect.desktop")
|
|
|
|
target_link_libraries(kcm_kdeconnect
|
|
Qt::Core
|
|
Qt::Gui
|
|
KF5::I18n
|
|
KF5::KCMUtils
|
|
kdeconnectinterfaces
|
|
kdeconnectversion
|
|
)
|
|
|
|
install(TARGETS kcm_kdeconnect DESTINATION ${KDE_INSTALL_PLUGINDIR})
|
|
install(FILES kcm_kdeconnect.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})
|