diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/root/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/root/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index ed3b1a3de3..07c668784f 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -223,7 +223,7 @@ class Root(CMakePackage): depends_on("pcre") depends_on("xxhash", when="@6.13.02:") # See cmake_args, below. depends_on("xz") - depends_on("zlib") + depends_on("zlib-api") depends_on("zstd", when="@6.20:") # X-Graphics @@ -633,7 +633,7 @@ class Root(CMakePackage): # With that done, let's go fixing those deps if spec.satisfies("@:6.12"): - add_include_path("zlib") + add_include_path("zlib-api") if "+x" in spec: if spec.satisfies("@:6.08") or spec.satisfies("@6.22:"): add_include_path("xextproto") |