kdeconnect-kde/kcm/CMakeLists.txt
Volker Krause 002848efa8 Adapt build system to also support Qt 6
This is complicated by the Qt 5.6 requirement of SailfishOS, hopefully
that didn't get broken by this.
2022-10-29 16:51:41 +02:00

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})