mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-25 03:12:53 +00:00
56 lines
1.4 KiB
Text
56 lines
1.4 KiB
Text
![]() |
|
||
|
if(LIBNXCL_FOUND)
|
||
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5013)
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${LIBNXCL_INCLUDE_DIR}
|
||
|
)
|
||
|
|
||
|
set(nxplugin_SRCS
|
||
|
nxhostpreferences.cpp
|
||
|
nxclientthread.cpp
|
||
|
nxviewfactory.cpp
|
||
|
nxview.cpp
|
||
|
nxcallbacks.cpp
|
||
|
nxresumesessions.cpp
|
||
|
)
|
||
|
|
||
|
kde4_add_ui_files(nxplugin_SRCS
|
||
|
nxpreferences.ui
|
||
|
nxresumesessions.ui
|
||
|
)
|
||
|
|
||
|
kde4_add_plugin(krdc_nxplugin ${nxplugin_SRCS})
|
||
|
|
||
|
target_link_libraries(krdc_nxplugin
|
||
|
${KDE4_KDECORE_LIBS}
|
||
|
${KDE4_KDEUI_LIBS}
|
||
|
${KDE4_KIO_LIBS}
|
||
|
${LIBNXCL_LIBRARIES}
|
||
|
krdccore
|
||
|
)
|
||
|
|
||
|
set(kcm_krdc_nxplugin_SRCS
|
||
|
nxpreferences.cpp
|
||
|
)
|
||
|
|
||
|
kde4_add_plugin(kcm_krdc_nxplugin ${kcm_krdc_nxplugin_SRCS})
|
||
|
|
||
|
target_link_libraries(kcm_krdc_nxplugin
|
||
|
${KDE4_KDEUI_LIBS}
|
||
|
krdccore
|
||
|
)
|
||
|
|
||
|
add_dependencies(kcm_krdc_nxplugin krdc_nxplugin)
|
||
|
|
||
|
install(TARGETS kcm_krdc_nxplugin DESTINATION ${PLUGIN_INSTALL_DIR})
|
||
|
install(TARGETS krdc_nxplugin DESTINATION ${PLUGIN_INSTALL_DIR})
|
||
|
|
||
|
install(FILES krdc_nx.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||
|
install(FILES krdc_nx_config.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||
|
|
||
|
install(FILES nx.protocol DESTINATION ${SERVICES_INSTALL_DIR})
|
||
|
install(FILES default.dsa.key DESTINATION ${DATA_INSTALL_DIR}/krdc)
|
||
|
endif(LIBNXCL_FOUND)
|