Warning, /graphics/digikam/core/dplugins/generic/webservices/inaturalist/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # 0002 # SPDX-FileCopyrightText: 2021 by Joerg Lohse <joergmlpts 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}::Widgets,INTERFACE_INCLUDE_DIRECTORIES> 0012 $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES> 0013 0014 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES> 0015 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES> 0016 ) 0017 0018 if(ENABLE_QWEBENGINE) 0019 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::WebEngineWidgets,INTERFACE_INCLUDE_DIRECTORIES>) 0020 else() 0021 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::WebKitWidgets,INTERFACE_INCLUDE_DIRECTORIES>) 0022 endif() 0023 0024 # -------------------------------------------------------------------------------- 0025 0026 set(inatplugin_SRCS 0027 ${CMAKE_CURRENT_SOURCE_DIR}/inatplugin.cpp 0028 ${CMAKE_CURRENT_SOURCE_DIR}/inatscore.cpp 0029 ${CMAKE_CURRENT_SOURCE_DIR}/inatsuggest.cpp 0030 ${CMAKE_CURRENT_SOURCE_DIR}/inattalker.cpp 0031 ${CMAKE_CURRENT_SOURCE_DIR}/inattaxon.cpp 0032 ${CMAKE_CURRENT_SOURCE_DIR}/inattaxonedit.cpp 0033 ${CMAKE_CURRENT_SOURCE_DIR}/inatwidget.cpp 0034 ${CMAKE_CURRENT_SOURCE_DIR}/inatwindow.cpp 0035 ${CMAKE_CURRENT_SOURCE_DIR}/inatutils.cpp 0036 ${CMAKE_CURRENT_SOURCE_DIR}/inatbrowserdlg.cpp 0037 ) 0038 0039 DIGIKAM_ADD_GENERIC_PLUGIN(NAME iNaturalist 0040 SOURCES ${inatplugin_SRCS} 0041 DEPENDS ${QWEB_BACKEND} 0042 0043 ) 0044 0045 add_subdirectory(icons)