diff options
Diffstat (limited to 'ports/qtscxml')
| -rw-r--r-- | ports/qtscxml/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/qtscxml/vcpkg.json | 25 |
2 files changed, 24 insertions, 9 deletions
diff --git a/ports/qtscxml/portfile.cmake b/ports/qtscxml/portfile.cmake index daa6b663e..1215ca019 100644 --- a/ports/qtscxml/portfile.cmake +++ b/ports/qtscxml/portfile.cmake @@ -5,9 +5,15 @@ set(${PORT}_PATCHES) set(TOOL_NAMES qscxmlc) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS +FEATURES +INVERTED_FEATURES + "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Qml +) + qt_install_submodule(PATCHES ${${PORT}_PATCHES} TOOL_NAMES ${TOOL_NAMES} - CONFIGURE_OPTIONS + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} CONFIGURE_OPTIONS_RELEASE CONFIGURE_OPTIONS_DEBUG ) diff --git a/ports/qtscxml/vcpkg.json b/ports/qtscxml/vcpkg.json index 72af5b012..8e52fe46e 100644 --- a/ports/qtscxml/vcpkg.json +++ b/ports/qtscxml/vcpkg.json @@ -1,22 +1,31 @@ { "name": "qtscxml", - "version-semver": "6.1.3", + "version-semver": "6.2.0", "description": "SCXML (state machine notation) compiler and related tools", "homepage": "https://www.qt.io/", "dependencies": [ { "name": "qtbase", - "default-features": false + "default-features": false, + "features": [ + "gui" + ] }, - "qtdeclarative", { "name": "qtscxml", "host": true, "default-features": false - }, - { - "name": "qttools", - "default-features": false } - ] + ], + "features": { + "qml": { + "description": "Build QML imports", + "dependencies": [ + { + "name": "qtdeclarative", + "default-features": false + } + ] + } + } } |
