Skip to content

Commit

Permalink
Merge pull request #184 from zklaus/fix-cmake-export-targets
Browse files Browse the repository at this point in the history
Fix cmake export targets
  • Loading branch information
xylar authored Sep 1, 2023
2 parents 2dc6848 + 0d6c542 commit 9b2d0c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .ci_support/migrations/libxml2211.yaml

This file was deleted.

12 changes: 11 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "4.9.2" %}
{% set build = 11 %}
{% set build = 12 %}

# recipe-lint fails if mpi is undefined
{% set mpi = mpi or 'nompi' %}
Expand Down Expand Up @@ -84,6 +84,16 @@ requirements:
- openssl # [unix]
- zlib
- zstd
run:
# In principle, zlib should *not* be a run requirement since only libz.so.1
# is needed which is provided by libzlib, which in turn gets added to the
# run requirements as a run_export from zlib in the host requirements.
# However, the Cmake export target requires libz.so (likely a bug), which is
# provided by zlib, hence the run requirement here to make the export target
# usable. For more details, see
# https://github.com/conda-forge/libnetcdf-feedstock/issues/173
# https://github.com/Unidata/netcdf-c/issues/2713
- zlib

test:
commands:
Expand Down

0 comments on commit 9b2d0c2

Please sign in to comment.