mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 00:58:01 +08:00
[magic-enum] Fix installation directory of CMake configurations (#43032)
This commit is contained in:
parent
b3d9a2e78d
commit
3aebd5b88b
@ -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}")
|
||||
|
@ -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",
|
||||
|
@ -5738,7 +5738,7 @@
|
||||
},
|
||||
"magic-enum": {
|
||||
"baseline": "0.9.7",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"magic-get": {
|
||||
"baseline": "2019-09-02",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9ab95f56c0327e8b6c0190fae3d975439161ffaa",
|
||||
"version": "0.9.7",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "dd998971fdcd05406e77a56d26e798393c918740",
|
||||
"version": "0.9.7",
|
||||
|
Loading…
x
Reference in New Issue
Block a user