kde-extraapps/kdeplasma-addons/applets/pastebin/CMakeLists.txt
Ivailo Monev e9a067897a generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-09 17:24:49 +00:00

15 lines
555 B
CMake

project(plasma-pastebin)
set(pastebin_SRCS
pastebin.cpp
pastebinConfig.ui
)
kde4_add_plugin(plasma_applet_pastebin ${pastebin_SRCS})
target_link_libraries(plasma_applet_pastebin ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
install(TARGETS plasma_applet_pastebin DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-applet-pastebin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma_pastebin.notifyrc DESTINATION ${DATA_INSTALL_DIR}/plasma_pastebin)
install(FILES pastebin.knsrc DESTINATION ${CONFIG_INSTALL_DIR})