diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qt5-tools/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/qt5-tools/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/qt5-tools/portfile.cmake | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-tools/portfile.cmake b/vcpkg/ports/qt5-tools/portfile.cmake new file mode 100644 index 0000000..c15e540 --- /dev/null +++ b/vcpkg/ports/qt5-tools/portfile.cmake @@ -0,0 +1,21 @@ +include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake) + +vcpkg_list(SET OPTIONS) +if("qdoc" IN_LIST FEATURES) + set(ENV{LLVM_INSTALL_DIR} "${CURRENT_INSTALLED_DIR}") + vcpkg_list(APPEND OPTIONS -feature-qdoc) +else() + vcpkg_list(APPEND OPTIONS -no-feature-qdoc) +endif() + +qt_submodule_installation( + PATCHES + fix-pkgconfig-qt5uiplugin-not-found.patch + libclang.patch + BUILD_OPTIONS + ${OPTIONS} +) + +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") +endif() |