Warning, /plasma/plasma-workspace/wallpapers/image/plugin/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(image_SRCS 0002 imagebackend.cpp 0003 slidemodel.cpp 0004 slidefiltermodel.cpp 0005 sortingmode.h 0006 finder/findsymlinktarget.h 0007 finder/imagefinder.cpp 0008 finder/mediametadatafinder.cpp 0009 finder/suffixcheck.cpp 0010 finder/packagefinder.cpp 0011 model/abstractimagelistmodel.cpp 0012 model/imageroles.h 0013 model/packagelistmodel.cpp 0014 model/imagelistmodel.cpp 0015 model/imageproxymodel.cpp 0016 provider/packageimageprovider.cpp 0017 provider/providertype.h 0018 utils/backgroundtype.h 0019 utils/maximizedwindowmonitor.cpp 0020 utils/mediaproxy.cpp 0021 ) 0022 0023 ecm_qt_declare_logging_category(image_SRCS HEADER debug.h 0024 IDENTIFIER IMAGEWALLPAPER 0025 CATEGORY_NAME kde.wallpapers.image 0026 DEFAULT_SEVERITY Info 0027 DESCRIPTION "plasma wallpapers image" 0028 EXPORT PLASMAWORKSPACE 0029 ) 0030 0031 add_library(plasma_wallpaper_imageplugin_static STATIC ${image_SRCS}) 0032 0033 set_property(TARGET plasma_wallpaper_imageplugin_static PROPERTY POSITION_INDEPENDENT_CODE ON) 0034 0035 target_link_libraries(plasma_wallpaper_imageplugin_static 0036 Qt::Core 0037 Qt::Quick 0038 Qt::Qml 0039 Plasma::Plasma 0040 KF6::I18n 0041 KF6::JobWidgets 0042 KF6::KIOCore 0043 KF6::KIOGui 0044 KF6::Notifications 0045 KF6::Package 0046 KF6::Svg 0047 PW::LibTaskManager 0048 PW::KWorkspace 0049 ) 0050 0051 if(HAVE_KExiv2) 0052 target_link_libraries(plasma_wallpaper_imageplugin_static KExiv2Qt6) 0053 endif() 0054 configure_file(config-KExiv2.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-KExiv2.h) 0055 0056 add_library(plasma_wallpaper_imageplugin SHARED imageplugin.cpp) 0057 target_link_libraries(plasma_wallpaper_imageplugin 0058 plasma_wallpaper_imageplugin_static 0059 ) 0060 0061 if(BUILD_TESTING) 0062 add_subdirectory(autotests) 0063 endif() 0064 0065 install(TARGETS plasma_wallpaper_imageplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/wallpapers/image) 0066 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/wallpapers/image)