kde-workspace/kcontrol/hardware/joystick/CMakeLists.txt
Ivailo Monev 18a7b9c1a2 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 13:03:02 +02:00

29 lines
520 B
CMake

########### next target ###############
set(kcm_joystick_PART_SRCS
joystick.cpp
joywidget.cpp
poswidget.cpp
joydevice.cpp
caldialog.cpp
)
kde4_add_plugin(kcm_joystick ${kcm_joystick_PART_SRCS})
target_link_libraries(kcm_joystick
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
${QT_QTGUI_LIBRARY}
)
########### install files ###############
install(
TARGETS kcm_joystick
DESTINATION ${PLUGIN_INSTALL_DIR}
)
install(
FILES joystick.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)