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

0001 #
0002 # SPDX-FileCopyrightText: 2019-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(dimgheifplugin_SRCS
0020     ${CMAKE_CURRENT_SOURCE_DIR}/dimgheifplugin.cpp
0021     ${CMAKE_CURRENT_SOURCE_DIR}/dimgheifloader.cpp
0022     ${CMAKE_CURRENT_SOURCE_DIR}/dimgheifloader_load.cpp
0023     ${CMAKE_CURRENT_SOURCE_DIR}/dimgheifloader_save.cpp
0024     ${CMAKE_CURRENT_SOURCE_DIR}/dimgheifexportsettings.cpp
0025 )
0026 
0027 DIGIKAM_ADD_DIMG_PLUGIN(NAME    HEIF
0028                         SOURCES ${dimgheifplugin_SRCS}
0029                         DEPENDS ${X265_LIBRARIES}
0030                                 ${CMAKE_THREAD_LIBS_INIT}
0031                                 Libheif::Libheif
0032 )