diff options
| author | Osyotr <Osyotr@users.noreply.github.com> | 2021-09-14 06:19:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 20:19:32 -0700 |
| commit | e571da5c6a1d636b2fa97e61f52427b26cb842f2 (patch) | |
| tree | d6df69dacedd39337283ab951621f319864fb895 /ports | |
| parent | b12f98e221ca638a21abea089c1449903e4169e4 (diff) | |
| download | vcpkg-e571da5c6a1d636b2fa97e61f52427b26cb842f2.tar.gz vcpkg-e571da5c6a1d636b2fa97e61f52427b26cb842f2.zip | |
[netcdf-c] Fix build under Linux with dynamic linkage (#19981)
* [netcdf-c] Fix build under Linux with dynamic linkage
* Add delete bin on *nix comment.
* Don't mark semver for unverified-semver port.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/netcdf-c/portfile.cmake | 3 | ||||
| -rw-r--r-- | ports/netcdf-c/vcpkg.json | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/netcdf-c/portfile.cmake b/ports/netcdf-c/portfile.cmake index 468237d2c..f51081d8b 100644 --- a/ports/netcdf-c/portfile.cmake +++ b/ports/netcdf-c/portfile.cmake @@ -60,7 +60,8 @@ if("tools" IN_LIST FEATURES) TOOL_NAMES nccopy ncdump ncgen ncgen3 AUTO_CLEAN ) -elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static") +elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS) + # delete bin under non-windows because the dynamic libraries get put in lib file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin") endif() diff --git a/ports/netcdf-c/vcpkg.json b/ports/netcdf-c/vcpkg.json index 6e6523608..256a401b4 100644 --- a/ports/netcdf-c/vcpkg.json +++ b/ports/netcdf-c/vcpkg.json @@ -1,7 +1,7 @@ { "name": "netcdf-c", - "version-string": "4.7.4", - "port-version": 3, + "version": "4.7.4", + "port-version": 4, "description": "A set of self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.", "homepage": "https://github.com/Unidata/netcdf-c", "dependencies": [ |
