Warning, /graphics/digikam/core/dplugins/dimg/magick/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 
0007 APPLY_COMMON_POLICIES()
0008 
0009 include(MacroDPlugins)
0010 
0011 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0012                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0013                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0014 
0015                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0016                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0017 )
0018 
0019 set(dimgimagemagickplugin_SRCS
0020     ${CMAKE_CURRENT_SOURCE_DIR}/dimgimagemagickplugin.cpp
0021     ${CMAKE_CURRENT_SOURCE_DIR}/dimgimagemagickloader.cpp
0022     ${CMAKE_CURRENT_SOURCE_DIR}/dimgimagemagickloader_load.cpp
0023     ${CMAKE_CURRENT_SOURCE_DIR}/dimgimagemagickloader_save.cpp
0024 )
0025 
0026 DIGIKAM_ADD_DIMG_PLUGIN(NAME    ImageMagick
0027                         SOURCES ${dimgimagemagickplugin_SRCS}
0028                         DEPENDS ${ImageMagick_LIBRARIES}
0029 )