mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
26 lines
917 B
CMake
26 lines
917 B
CMake
# Project Needs a name ofcourse
|
|
project(plasma-leavenote)
|
|
|
|
# We add our source code here
|
|
set(leavenote_SRCS leavenote.cpp)
|
|
|
|
# Now make sure all files get to the right place
|
|
kde4_add_ui_files(leavenote_SRCS widget.ui)
|
|
kde4_add_plugin(plasma_applet_leavenote ${leavenote_SRCS})
|
|
|
|
target_link_libraries(plasma_applet_leavenote
|
|
${QT_QTNETWORK_LIBRARY} ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
|
|
|
|
install(TARGETS plasma_applet_leavenote
|
|
DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-applet-leavenote.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
# TODO add cmake switch or sth. to only install if the target
|
|
# does not exist or reenable with a different svg than notes
|
|
# that way we get theming for free since we'd use a copy of
|
|
# notes.svgz (leavenote.svgz) otherwise anyway.
|
|
#install(
|
|
# FILES notes.svgz
|
|
# DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/)
|