Warning, /graphics/digikam/core/libs/dragdrop/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2010-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 set(libdragdrop_SRCS
0010     ${CMAKE_CURRENT_SOURCE_DIR}/abstractitemdragdrophandler.cpp
0011     ${CMAKE_CURRENT_SOURCE_DIR}/dragdropimplementations.cpp
0012 )
0013 
0014 include_directories(
0015     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0016     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0017 
0018     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0019     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0020     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0021 )
0022 
0023 # Used by digikamcore
0024 add_library(core_dragdrop_obj OBJECT ${libdragdrop_SRCS})
0025 
0026 target_compile_definitions(core_dragdrop_obj
0027                            PRIVATE
0028                            digikamcore_EXPORTS
0029 )