diff --git a/ports/zfp/portfile.cmake b/ports/zfp/portfile.cmake index 978ae3b008..9f5c65143e 100644 --- a/ports/zfp/portfile.cmake +++ b/ports/zfp/portfile.cmake @@ -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() diff --git a/ports/zfp/vcpkg.json b/ports/zfp/vcpkg.json index bfc54640e2..1a71927506 100644 --- a/ports/zfp/vcpkg.json +++ b/ports/zfp/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 624c372b4f..c65160e8eb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8582,7 +8582,7 @@ }, "zfp": { "baseline": "1.0.0", - "port-version": 0 + "port-version": 1 }, "zint": { "baseline": "2.12.0", diff --git a/versions/z-/zfp.json b/versions/z-/zfp.json index bfc8cf50d3..14c73a2968 100644 --- a/versions/z-/zfp.json +++ b/versions/z-/zfp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fad0bac8bcea7da30ad1786f0cc36b887e453307", + "version": "1.0.0", + "port-version": 1 + }, { "git-tree": "bb3d795346f73dc90971a02729ca94d38a226b08", "version": "1.0.0",