Skip to content

Commit

Permalink
[highfive] Fix usage (#22150)
Browse files Browse the repository at this point in the history
* [highfive] Fix usage

* version

* Re-fix

* version
  • Loading branch information
JackBoosY authored Dec 23, 2021
1 parent b036464 commit cfcd2fe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 2 additions & 4 deletions ports/highfive/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion ports/highfive/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,7 @@
},
"highfive": {
"baseline": "2.3",
"port-version": 1
"port-version": 2
},
"highway": {
"baseline": "0.14.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/highfive.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b1ecca066cce62dd0fbdf760151ee0c3ccc70b81",
"version": "2.3",
"port-version": 2
},
{
"git-tree": "e2f9f257e00960a16a162c1f279406f48528db5a",
"version": "2.3",
Expand Down

0 comments on commit cfcd2fe

Please sign in to comment.