Martin Klapetek 520837a07c [calendar] Move the plugin library to KDeclarative
Marco is not happy with the plugin being here and having a Plasma
namespace, so after some discussion it was decided to move it to
KDeclarative and change to CalendarEvents namespace.
2015-11-16 14:26:26 -05:00

27 lines
633 B
CMake

set(calendar_SRCS
calendarplugin.cpp
#incidencemodifier.cpp
calendar.cpp
calendardata.cpp
#calendardayhelper.cpp
#calendarroleproxymodel.cpp
#datetimerangefiltermodel.cpp
daysmodel.cpp
eventdatadecorator.cpp
eventpluginsmanager.cpp
)
add_library(calendarplugin SHARED ${calendar_SRCS})
target_link_libraries(calendarplugin
Qt5::Core
Qt5::Quick
Qt5::Qml
Qt5::Gui
KF5::I18n
KF5::CalendarEvents
)
install(TARGETS calendarplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)