Warning, /graphics/digikam/core/libs/onlineversion/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(libonlineversion_SRCS
0010     ${CMAKE_CURRENT_SOURCE_DIR}/onlineversionchecker.cpp
0011     ${CMAKE_CURRENT_SOURCE_DIR}/onlineversiondlg.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/onlineversiondwnl.cpp
0013 )
0014 
0015 include_directories(
0016     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0017     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0018     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Network,INTERFACE_INCLUDE_DIRECTORIES>
0019     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Concurrent,INTERFACE_INCLUDE_DIRECTORIES>
0020 
0021     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0022     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0023 )
0024 
0025 # Used by digikamcore
0026 add_library(core_onlineversion_obj OBJECT ${libonlineversion_SRCS})
0027 
0028 target_compile_definitions(core_onlineversion_obj
0029                            PRIVATE
0030                            digikamcore_EXPORTS
0031 )