CMakeLists.txt 628 Bytes
Newer Older
Martin Flöser's avatar
Martin Flöser committed
1
# KI18N Translation Domain for this library
2
add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_joystick\")
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


########### next target ###############

set(kcm_joystick_PART_SRCS 
   joystick.cpp 
   joywidget.cpp 
   poswidget.cpp 
   joydevice.cpp 
   caldialog.cpp )


add_library(kcm_joystick MODULE ${kcm_joystick_PART_SRCS})


target_link_libraries(kcm_joystick
    KF5::Completion
    KF5::KCMUtils
    KF5::I18n
    KF5::KIOWidgets
)

25
install(TARGETS kcm_joystick  DESTINATION ${KDE_INSTALL_PLUGINDIR} )
26 27 28 29


########### install files ###############

30
install( FILES joystick.desktop  DESTINATION  ${KDE_INSTALL_KSERVICES5DIR} )
31 32

#