kde-extraapps/kdeplasma-addons/applets/frame/CMakeLists.txt
Ivailo Monev 87247ceaca kdeplasma-addons: load and scale images synchronously from frame applet
fixes crashes, make use of KImageIO::patterns() to support more image
formats while at it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-03 18:50:22 +02:00

26 lines
759 B
CMake

project(plasma-frame)
set(frame_SRCS
frame.cpp
slideshow.cpp
picture.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/)