kde-extraapps/kdeplasma-addons/applets/frame/CMakeLists.txt
Ivailo Monev 7dfd1f33f4 kdeplasma-addons: port to new kexiv2 library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-01 16:26:00 +03:00

28 lines
799 B
CMake

project(plasma-frame)
set(frame_SRCS
frame.cpp
slideshow.cpp
picture.cpp
imagescaler.cpp
imageloader.cpp
configdialog.cpp
imageSettings.ui
appearanceSettings.ui
)
kde4_add_plugin(plasma_applet_frame ${frame_SRCS})
include_directories(${KEXIV2_INCLUDE_DIR})
target_link_libraries(plasma_applet_frame
${KDE4_PLASMA_LIBS}
${KDE4_KIO_LIBS}
${KDE4_KFILE_LIBS}
${KDE4_KEXIV2_LIBS}
)
install(TARGETS plasma_applet_frame DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-frame-default.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
#install(FILES picture-frame-default.jpg DESTINATION ${KDE4_DATA_INSTALL_DIR}/desktoptheme/default/widgets/)
install(FILES picture-frame-default.jpg DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma-applet-frame/)