mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 11:52:54 +00:00
16 lines
676 B
CMake
16 lines
676 B
CMake
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9532 )
|
|
|
|
set(kdevopenwith_PART_SRCS
|
|
openwithplugin.cpp
|
|
)
|
|
|
|
kde4_add_plugin(kdevopenwith ${kdevopenwith_PART_SRCS})
|
|
target_link_libraries(kdevopenwith kdevplatforminterfaces kdevplatformproject kdevplatformutil ${KDE4_KDEUI_LIBS})
|
|
|
|
install(TARGETS kdevopenwith DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
########### install files ###############
|
|
|
|
configure_file(kdevopenwith.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevopenwith.desktop)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
install( FILES iopenwith.h DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/openwith COMPONENT Devel)
|