From d81fa4b0503d5eb073a5d94943e7d528365ede2e Mon Sep 17 00:00:00 2001 From: miyanyan <40262194+miyanyan@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:04:41 +0800 Subject: [PATCH] [magic-enum] update to 0.9.7 (#42158) --- ports/magic-enum/portfile.cmake | 5 +++-- ports/magic-enum/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/m-/magic-enum.json | 5 +++++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ports/magic-enum/portfile.cmake b/ports/magic-enum/portfile.cmake index 15c3bf442a..bcf5f33050 100644 --- a/ports/magic-enum/portfile.cmake +++ b/ports/magic-enum/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Neargye/magic_enum REF "v${VERSION}" - SHA512 fa3792e9c69c57e437d6325b7659cf25e6cbdda3326ffeaf0411d9838822095b15306f322ad2ebd5ec68b905ef2aed08880d2507e7d8a8559ab3c5be6c8ce99c + SHA512 8b61c621ff2a6981b4ff89f7df577091ffc9382d443c061db612fb61822dbf6ef8aba69ea35d1c435dcffbd7434cb4ccc5d12bbe2deba1cf0a5316c979ee6a4b HEAD_REF master ) @@ -17,8 +17,9 @@ vcpkg_cmake_configure( ) vcpkg_cmake_install() - vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/magic_enum PACKAGE_NAME magic_enum) +vcpkg_fixup_pkgconfig() + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") diff --git a/ports/magic-enum/vcpkg.json b/ports/magic-enum/vcpkg.json index 4fbd4dba51..0986cbdd9d 100644 --- a/ports/magic-enum/vcpkg.json +++ b/ports/magic-enum/vcpkg.json @@ -1,7 +1,6 @@ { "name": "magic-enum", - "version": "0.9.6", - "port-version": 1, + "version": "0.9.7", "description": "Header-only C++17 library provides static reflection for enums, work with any enum type without any macro or boilerplate code.", "homepage": "https://github.com/Neargye/magic_enum", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 3ac4c9dddd..892dd78934 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5721,8 +5721,8 @@ "port-version": 0 }, "magic-enum": { - "baseline": "0.9.6", - "port-version": 1 + "baseline": "0.9.7", + "port-version": 0 }, "magic-get": { "baseline": "2019-09-02", diff --git a/versions/m-/magic-enum.json b/versions/m-/magic-enum.json index df808d9fd6..8a4dfc303d 100644 --- a/versions/m-/magic-enum.json +++ b/versions/m-/magic-enum.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dd998971fdcd05406e77a56d26e798393c918740", + "version": "0.9.7", + "port-version": 0 + }, { "git-tree": "165d7cfe56b22819f778749bbd7d5b0060bbb90e", "version": "0.9.6",