Warning, /graphics/digikam/core/tests/webservices/o2/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #
0002 # SPDX-FileCopyrightText: 2010-2024, Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006
0007 DISABLE_CLANG_COMPILER_WARNINGS("4.99.99" "-Wno-extra-semi")
0008
0009 # The o2 library does not adhere to the flags we use
0010 remove_definitions(
0011 -DQT_NO_CAST_FROM_ASCII
0012 -DQT_NO_CAST_TO_ASCII
0013 -DQT_NO_URL_CAST_FROM_STRING
0014 -DQT_NO_CAST_FROM_BYTEARRAY
0015 -DQT_DISABLE_DEPRECATED_BEFORE=0x050E00
0016 -DQT_NO_KEYWORDS
0017 )
0018
0019 include_directories(${CMAKE_SOURCE_DIR}/core/libs/dplugins/webservices/o2/src)
0020
0021 if(NOT APPLE)
0022
0023 add_subdirectory(fbdemo)
0024
0025 if(ENABLE_QWEBENGINE)
0026 # NOTE: Do not compile anymore on CI
0027 # add_subdirectory(fbinter)
0028 endif()
0029
0030 endif()
0031
0032 if(Qt5Qml_FOUND AND Qt5WebView_FOUND)
0033 add_subdirectory(sialis)
0034 endif()
0035
0036 add_subdirectory(twdemo)