summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2021-09-24 03:05:06 -0500
committerGitHub <noreply@github.com>2021-09-24 02:05:06 -0600
commitfb2e764f50995c0869b4c2be0f6038977fe62498 (patch)
tree23aaa37f5589074e19dea828116ab227163696a5
parent7bb5dd7a14a217ad01598a1ea5f01f6e6d0a13ce (diff)
downloadspack-fb2e764f50995c0869b4c2be0f6038977fe62498.tar.gz
spack-fb2e764f50995c0869b4c2be0f6038977fe62498.tar.bz2
spack-fb2e764f50995c0869b4c2be0f6038977fe62498.tar.xz
spack-fb2e764f50995c0869b4c2be0f6038977fe62498.zip
assimp: depends_on zlib (#26199)
Assimp searches for zlib (or builds its own version). When it searches, it can find a system install that is not provided by spack. Ref: https://github.com/assimp/assimp/blob/d286aadbdf82c0860ce6c5dbdcab80cba4828606/CMakeLists.txt#L451
-rw-r--r--var/spack/repos/builtin/packages/assimp/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/assimp/package.py b/var/spack/repos/builtin/packages/assimp/package.py
index 5a0a1b7b51..58968fe271 100644
--- a/var/spack/repos/builtin/packages/assimp/package.py
+++ b/var/spack/repos/builtin/packages/assimp/package.py
@@ -21,6 +21,7 @@ class Assimp(CMakePackage):
variant('shared', default=True,
description='Enables the build of shared libraries')
+ depends_on('zlib')
depends_on('boost')
def cmake_args(self):