[zfp] Fix feature utility (#29888)

This commit is contained in:
autoantwort 2023-03-01 19:57:43 +01:00 committed by GitHub
parent b41bc7cfed
commit 48965e6132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View File

@ -30,7 +30,11 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/zfp.h "\"bitstream.h\"" "\"zfp/bitstream.h\"")
if("utility" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES zfpcmd AUTO_CLEAN)
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/zfp")
vcpkg_copy_tools(TOOL_NAMES zfp AUTO_CLEAN)
else()
vcpkg_copy_tools(TOOL_NAMES zfpcmd AUTO_CLEAN)
endif()
endif()
vcpkg_copy_pdbs()

View File

@ -1,6 +1,7 @@
{
"name": "zfp",
"version": "1.0.0",
"port-version": 1,
"description": "Zfp is an open source C/C++ library for compressed numerical arrays that support high throughput read and write random access. zfp also supports streaming compression of integer and floating-point data, e.g., for applications that read and write large data sets to and from disk. zfp is primarily written in C and C++ but also includes Python and Fortran bindings.",
"homepage": "https://github.com/LLNL/zfp",
"license": "BSD-3-Clause",

View File

@ -8582,7 +8582,7 @@
},
"zfp": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"zint": {
"baseline": "2.12.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fad0bac8bcea7da30ad1786f0cc36b887e453307",
"version": "1.0.0",
"port-version": 1
},
{
"git-tree": "bb3d795346f73dc90971a02729ca94d38a226b08",
"version": "1.0.0",