2019-09-13 01:07:22 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2020-02-20 08:45:58 +08:00
|
|
|
|
2024-05-23 10:39:25 +08:00
|
|
|
vcpkg_list(SET OPTIONS_RELEASE)
|
|
|
|
if("qdoc" IN_LIST FEATURES)
|
|
|
|
set(ENV{LLVM_INSTALL_DIR} "${CURRENT_INSTALLED_DIR}")
|
|
|
|
vcpkg_list(APPEND OPTIONS_RELEASE -feature-qdoc)
|
|
|
|
else()
|
|
|
|
vcpkg_list(APPEND OPTIONS_RELEASE -no-feature-qdoc)
|
|
|
|
endif()
|
|
|
|
|
2023-07-25 01:58:39 +08:00
|
|
|
qt_submodule_installation(
|
|
|
|
PATCHES
|
2024-05-23 10:39:25 +08:00
|
|
|
fix-pkgconfig-qt5uiplugin-not-found.patch
|
|
|
|
libclang.patch
|
|
|
|
BUILD_OPTIONS_RELEASE
|
|
|
|
${OPTIONS_RELEASE}
|
|
|
|
BUILD_OPTIONS_DEBUG
|
|
|
|
-no-feature-qdoc
|
2023-07-25 01:58:39 +08:00
|
|
|
)
|
2020-02-20 08:45:58 +08:00
|
|
|
|
2020-01-07 04:36:51 +08:00
|
|
|
if(EXISTS "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}")
|
|
|
|
file(INSTALL "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/plugins/platforms")
|
2020-11-20 13:38:36 +08:00
|
|
|
endif()
|