kde-workspace/plasma/applets/calendar/CMakeLists.txt

23 lines
642 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
project(plasma-applet-calendar)
include_directories(
# for plasmaclock_export.h
${CMAKE_BINARY_DIR}/libs/plasmaclock
)
2014-11-13 19:30:51 +02:00
set(calendar_SRCS
calendar.cpp)
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
kde4_add_plugin(plasma_applet_calendar ${calendar_SRCS})
target_link_libraries(plasma_applet_calendar
KDE4::plasma
KDE4::kio
plasmaclock
)
2014-11-13 19:30:51 +02:00
install(TARGETS plasma_applet_calendar DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-applet-calendar.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
install(FILES mini-calendar.svgz DESTINATION ${KDE4_DATA_INSTALL_DIR}/desktoptheme/default/calendar/)