Warning, /graphics/digikam/core/dplugins/generic/webservices/twitter/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 # SPDX-FileCopyrightText: 2018      by Maik Qualmann, <metzpinguin at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 
0008 APPLY_COMMON_POLICIES()
0009 
0010 include(MacroDPlugins)
0011 
0012 include_directories($<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 # The o2 library does not adhere to the flags we use
0020 remove_definitions(
0021     -DQT_NO_CAST_FROM_ASCII
0022     -DQT_NO_CAST_TO_ASCII
0023     -DQT_NO_URL_CAST_FROM_STRING
0024     -DQT_NO_CAST_FROM_BYTEARRAY
0025     -DQT_DISABLE_DEPRECATED_BEFORE=0x050E00
0026 )
0027 
0028 set(twitterplugin_SRCS
0029     ${CMAKE_CURRENT_SOURCE_DIR}/twittermpform.cpp
0030     ${CMAKE_CURRENT_SOURCE_DIR}/twitternewalbumdlg.cpp
0031     ${CMAKE_CURRENT_SOURCE_DIR}/twitterplugin.cpp
0032     ${CMAKE_CURRENT_SOURCE_DIR}/twittertalker.cpp
0033     ${CMAKE_CURRENT_SOURCE_DIR}/twitterwidget.cpp
0034     ${CMAKE_CURRENT_SOURCE_DIR}/twitterwindow.cpp
0035 )
0036 
0037 DIGIKAM_ADD_GENERIC_PLUGIN(NAME    Twitter
0038                            SOURCES ${twitterplugin_SRCS}
0039 )