mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
49 lines
819 B
CMake
49 lines
819 B
CMake
########### next target ###############
|
|
|
|
kde4_add_plugin(kcm_access kcmaccess.cpp)
|
|
|
|
target_link_libraries(kcm_access
|
|
${KDE4_KIO_LIBS}
|
|
${KDE4_PHONON_LIBS}
|
|
${KDE4_KNOTIFYCONFIG_LIBS}
|
|
${X11_LIBRARIES}
|
|
)
|
|
|
|
install(
|
|
TARGETS kcm_access
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kaccess_SRCS
|
|
kaccess.cpp
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(kaccess ${kaccess_SRCS})
|
|
|
|
target_link_libraries(kaccess
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_PHONON_LIBS}
|
|
${X11_LIBRARIES}
|
|
)
|
|
|
|
install(
|
|
TARGETS kaccess
|
|
${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES
|
|
kcmaccess.desktop
|
|
kaccess.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES kaccess.notifyrc
|
|
DESTINATION ${DATA_INSTALL_DIR}/kaccess
|
|
)
|