[highfive] Fix usage (#22150)

* [highfive] Fix usage

* version

* Re-fix

* version
This commit is contained in:
Jack·Boos·Yu 2021-12-23 11:52:44 +08:00 committed by GitHub
parent b036464fef
commit cfcd2fe2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View File

@ -38,12 +38,10 @@ if("tests" IN_LIST FEATURES)
)
endif()
vcpkg_cmake_config_fixup(CONFIG_PATH share/HighFive/CMake)
# Use PACKAGE_NAME to avoid folder HighFive and highfive are exist at same time
vcpkg_cmake_config_fixup(PACKAGE_NAME HighFive CONFIG_PATH share/HighFive/CMake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
if(NOT VCPKG_TARGET_IS_UWP AND NOT VCPKG_TARGET_IS_OSX)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/HighFive")
endif()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,7 @@
{
"name": "highfive",
"version": "2.3",
"port-version": 1,
"port-version": 2,
"description": "HighFive is a modern header-only C++/C++11 friendly interface for libhdf5",
"homepage": "https://github.com/BlueBrain/HighFive",
"license": "BSL-1.0",

View File

@ -2694,7 +2694,7 @@
},
"highfive": {
"baseline": "2.3",
"port-version": 1
"port-version": 2
},
"highway": {
"baseline": "0.14.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b1ecca066cce62dd0fbdf760151ee0c3ccc70b81",
"version": "2.3",
"port-version": 2
},
{
"git-tree": "e2f9f257e00960a16a162c1f279406f48528db5a",
"version": "2.3",