You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.5 KiB

set(image_SRCS
imagebackend.cpp
slidemodel.cpp
slidefiltermodel.cpp
sortingmode.h
finder/imagesizefinder.cpp
finder/distance.cpp
finder/findsymlinktarget.h
finder/imagefinder.cpp
finder/suffixcheck.cpp
finder/packagefinder.cpp
model/abstractimagelistmodel.cpp
model/imageroles.h
model/packagelistmodel.cpp
model/imagelistmodel.cpp
model/imageproxymodel.cpp
provider/packageimageprovider.cpp
provider/providertype.h
utils/mediaproxy.cpp
)
ecm_qt_declare_logging_category(image_SRCS HEADER debug.h
IDENTIFIER IMAGEWALLPAPER
CATEGORY_NAME kde.wallpapers.image
DEFAULT_SEVERITY Info)
add_library(plasma_wallpaper_imageplugin_static STATIC ${image_SRCS})
target_link_libraries(plasma_wallpaper_imageplugin_static
Qt::Core
Qt::Quick
Qt::Qml
KF5::Plasma
KF5::KIOCore
KF5::KIOWidgets
KF5::I18n
KF5::KIOCore
KF5::KIOGui
KF5::NewStuff
KF5::Notifications
)
add_library(plasma_wallpaper_imageplugin SHARED imageplugin.cpp)
target_link_libraries(plasma_wallpaper_imageplugin
plasma_wallpaper_imageplugin_static
)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()
install(TARGETS plasma_wallpaper_imageplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/wallpapers/image)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/wallpapers/image)