kdeconnect-kde/kcm/CMakeLists.txt
Nicolas Fella 8b82a30d40 CMake cleanup
Remove all include_directory calls

They are either unnecessary or can be done better
2020-11-16 12:21:07 +00:00

21 lines
450 B
CMake

add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kcm")
set(kcm_SRCS
kcm.cpp
)
ki18n_wrap_ui(kcm_SRCS kcm.ui)
add_library(kcm_kdeconnect MODULE ${kcm_SRCS})
target_link_libraries(kcm_kdeconnect
Qt5::Core
Qt5::Gui
KF5::I18n
KF5::KCMUtils
kdeconnectinterfaces
kdeconnectversion
)
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})