kde-workspace/khotkeys/app/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

27 lines
818 B
CMake

########### next target ###############
set(kded_khotkeys_PART_SRCS
kded.cpp
${CMAKE_CURRENT_BINARY_DIR}/org.kde.khotkeys.xml)
qt4_generate_dbus_interface(kded.h org.kde.khotkeys.xml )
kde4_add_plugin(kded_khotkeys ${kded_khotkeys_PART_SRCS})
target_link_libraries(kded_khotkeys khotkeysprivate kworkspace ${KDE4_KDEUI_LIBS})
# I'm not sure if this is needed anymore. Check it
if(X11_XTest_FOUND)
target_link_libraries(kded_khotkeys ${X11_XTest_LIB})
endif(X11_XTest_FOUND)
########### install files ###############
install(TARGETS kded_khotkeys DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES khotkeys.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.khotkeys.xml
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR})