From e8a091d46aead967d5d173f2e7f54905b3d2adc5 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:49:57 +0200 Subject: [PATCH] Fix vcpkg create (#33954) --- scripts/templates/portfile.in.cmake | 2 +- scripts/templates/vcpkg.json.in | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index be9f99a407..9587622d4d 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -55,7 +55,7 @@ vcpkg_extract_source_archive_ex( # # Check if one or more features are a part of a package installation. # # See /docs/maintainers/vcpkg_check_features.md for more details # vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS -# FEATURES # <- Keyword FEATURES is required because INVERTED_FEATURES are being used +# FEATURES # tbb WITH_TBB # INVERTED_FEATURES # tbb ROCKSDB_IGNORE_PACKAGE_TBB diff --git a/scripts/templates/vcpkg.json.in b/scripts/templates/vcpkg.json.in index 81004e8eeb..03476f8ff4 100644 --- a/scripts/templates/vcpkg.json.in +++ b/scripts/templates/vcpkg.json.in @@ -3,6 +3,7 @@ "version": "", "homepage": "", "description": "", + "license": "", "dependencies": [ { "name": "vcpkg-cmake", @@ -11,11 +12,10 @@ ], "default-features": [], - "features": [ - { - "name": "", + "features": { + "example-feature": { "description": "", "dependencies": [] } - ] + } }