netcdf-c: fix self-referential dependencies (#42528)
This commit is contained in:
parent
5c86a3cca2
commit
bdae9f776b
@ -244,7 +244,7 @@ class NetcdfC(CMakePackage, AutotoolsPackage):
|
|||||||
# later is required for netCDF-4 compression. However, zlib became a direct dependency only
|
# later is required for netCDF-4 compression. However, zlib became a direct dependency only
|
||||||
# starting NetCDF 4.9.0 (for the deflate plugin):
|
# starting NetCDF 4.9.0 (for the deflate plugin):
|
||||||
depends_on("zlib-api", when="@4.9.0:+shared")
|
depends_on("zlib-api", when="@4.9.0:+shared")
|
||||||
depends_on("zlib@1.2.5:", when="^zlib")
|
depends_on("zlib@1.2.5:", when="^[virtuals=zlib-api] zlib")
|
||||||
|
|
||||||
# Use the vendored bzip2 on Windows:
|
# Use the vendored bzip2 on Windows:
|
||||||
for __p in ["darwin", "cray", "linux"]:
|
for __p in ["darwin", "cray", "linux"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user