diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/qt5-base/portfile.cmake | 5 | ||||
| -rw-r--r-- | ports/qt5-base/vcpkg.json | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/ports/qt5-base/portfile.cmake b/ports/qt5-base/portfile.cmake index 5137f72d0..0d61fd06f 100644 --- a/ports/qt5-base/portfile.cmake +++ b/ports/qt5-base/portfile.cmake @@ -147,6 +147,11 @@ else() list(APPEND CORE_OPTIONS -no-sql-mysql) endif() +if ("vulkan" IN_LIST FEATURES) + list(APPEND CORE_OPTIONS --vulkan=yes) +else() + list(APPEND CORE_OPTIONS --vulkan=no) +endif() find_library(ZLIB_RELEASE NAMES z zlib PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) find_library(ZLIB_DEBUG NAMES z zlib zd zlibd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH) diff --git a/ports/qt5-base/vcpkg.json b/ports/qt5-base/vcpkg.json index 7ff462eba..c2ba35dd0 100644 --- a/ports/qt5-base/vcpkg.json +++ b/ports/qt5-base/vcpkg.json @@ -1,7 +1,7 @@ { "name": "qt5-base", - "version-string": "5.15.2", - "port-version": 5, + "version-semver": "5.15.2", + "port-version": 6, "description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.", "homepage": "https://www.qt.io/", "dependencies": [ @@ -48,6 +48,12 @@ "dependencies": [ "libpq" ] + }, + "vulkan": { + "description": "Enable Vulkan support in QtGui", + "dependencies": [ + "vulkan" + ] } } } |
