kde-workspace/kcontrol/keyboard/CMakeLists.txt
Ivailo Monev 65eb546f63 kcontrol: convert desktoppaths, input and keyboard KCM initialization to autostart
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-10 00:23:01 +03:00

50 lines
923 B
CMake

########### next target ###############
set(keyboardconfig_SRCS
keyboardconfig.cpp
keyboardlayoutdialog.cpp
keyboardoptionsdialog.cpp
)
kde4_add_plugin(kcm_keyboard ${keyboardconfig_SRCS})
target_link_libraries(kcm_keyboard
KDE4::kdeui
KDE4::kcmutils
${X11_LIBRARIES}
${X11_Xkbfile_LIB}
)
install(
TARGETS kcm_keyboard
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES kcm_keyboard.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)
install(
FILES keyboard_new.desktop
DESTINATION ${KDE4_DATA_INSTALL_DIR}/solid/actions
)
########### next target ###############
add_executable(kkeyboard kkeyboard.cpp)
target_link_libraries(kkeyboard
KDE4::kdeui
${X11_LIBRARIES}
${X11_Xkbfile_LIB}
)
install(
TARGETS kkeyboard
DESTINATION ${KDE4_BIN_INSTALL_DIR}
)
install(
FILES kkeyboard.desktop
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
)