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-declarative/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/qt5-declarative/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/qt5-declarative/portfile.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-declarative/portfile.cmake b/vcpkg/ports/qt5-declarative/portfile.cmake new file mode 100644 index 0000000..7ab4aeb --- /dev/null +++ b/vcpkg/ports/qt5-declarative/portfile.cmake @@ -0,0 +1,13 @@ +include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
+
+if("d3d12" IN_LIST FEATURES)
+ list(APPEND CORE_OPTIONS -d3d12)
+else()
+ list(APPEND CORE_OPTIONS -no-d3d12)
+endif()
+
+qt_submodule_installation(OUT_SOURCE_PATH SOURCE_PATH BUILD_OPTIONS ${CORE_OPTIONS})
+
+if(NOT QT_UPDATE_VERSION)
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/qt5/QtQml/${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}/QtQml/private/qqmljsparser_p.h" "${SOURCE_PATH}" "")
+endif()
|