Warning, /graphics/digikam/project/bundles/3rdparty/ext_fcitx-qt/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # Script to build Fcitx-qt for digiKam bundle. 0002 # 0003 # SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0004 # 0005 # SPDX-License-Identifier: BSD-3-Clause 0006 # 0007 0008 set(EXTPREFIX_fcitx-qt "${EXTPREFIX}" ) 0009 0010 if(${ENABLE_QTVERSION} MATCHES "5") 0011 0012 message(STATUS "Compiling fcitx-qt for Qt5") 0013 0014 ExternalProject_Add(ext_fcitx-qt 0015 DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} 0016 0017 GIT_REPOSITORY https://github.com/fcitx/fcitx-qt5.git 0018 GIT_TAG 1.2.7 0019 0020 CONFIGURE_COMMAND cd <SOURCE_DIR> && 0021 $(CMAKE_COMMAND) . 0022 -DCMAKE_INSTALL_PREFIX=${EXTPREFIX_fcitx-qt} 0023 -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE} 0024 -DENABLE_LIBRARY=OFF 0025 -DENABLE_QT5=ON 0026 -DENABLE_QT6=OFF 0027 ${GLOBAL_PROFILE} 0028 0029 UPDATE_COMMAND "" 0030 BUILD_IN_SOURCE 0 0031 ALWAYS 0 0032 ) 0033 0034 else() 0035 0036 message(STATUS "Compiling fcitx-qt for Qt6") 0037 0038 ExternalProject_Add(ext_fcitx-qt 0039 DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} 0040 0041 GIT_REPOSITORY https://github.com/fcitx/fcitx-qt5.git 0042 GIT_TAG 1.2.7 0043 0044 CONFIGURE_COMMAND cd <SOURCE_DIR> && 0045 $(CMAKE_COMMAND) . 0046 -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE} 0047 -DENABLE_LIBRARY=OFF 0048 -DENABLE_QT5=OFF 0049 -DENABLE_QT6=ON 0050 ${GLOBAL_PROFILE} 0051 0052 UPDATE_COMMAND "" 0053 BUILD_IN_SOURCE 0 0054 ALWAYS 0 0055 ) 0056 0057 endif()