[magic-enum] Fix installation directory of CMake configurations (#43032)

This commit is contained in:
Yury Bura 2025-01-07 01:41:07 +01:00 committed by GitHub
parent b3d9a2e78d
commit 3aebd5b88b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 7 deletions

View File

@ -17,12 +17,8 @@ vcpkg_cmake_configure(
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/magic_enum PACKAGE_NAME magic_enum)
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/magic_enum PACKAGE_NAME magic_enum)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
# Handle copyright
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,6 +1,7 @@
{
"name": "magic-enum",
"version": "0.9.7",
"port-version": 1,
"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",

View File

@ -5738,7 +5738,7 @@
},
"magic-enum": {
"baseline": "0.9.7",
"port-version": 0
"port-version": 1
},
"magic-get": {
"baseline": "2019-09-02",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9ab95f56c0327e8b6c0190fae3d975439161ffaa",
"version": "0.9.7",
"port-version": 1
},
{
"git-tree": "dd998971fdcd05406e77a56d26e798393c918740",
"version": "0.9.7",