summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2022-03-17 09:56:33 -0500
committerGitHub <noreply@github.com>2022-03-17 15:56:33 +0100
commitb26b3bebb4f44009f1e452b983b8fedb2e4e17ef (patch)
tree5ddf62a214216811596818a1d353ec97b654cf93
parente174623edf3d112590e6cd3e4903883cf4706cf0 (diff)
downloadspack-b26b3bebb4f44009f1e452b983b8fedb2e4e17ef.tar.gz
spack-b26b3bebb4f44009f1e452b983b8fedb2e4e17ef.tar.bz2
spack-b26b3bebb4f44009f1e452b983b8fedb2e4e17ef.tar.xz
spack-b26b3bebb4f44009f1e452b983b8fedb2e4e17ef.zip
assimp: depends on pkgconfig; disable bundled dependencies (#29551)
* [assimp] depends_on pkgconfig and disable hunter, build zlib/minizip
-rw-r--r--var/spack/repos/builtin/packages/assimp/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/assimp/package.py b/var/spack/repos/builtin/packages/assimp/package.py
index a0f950a978..cfa3f2a0c3 100644
--- a/var/spack/repos/builtin/packages/assimp/package.py
+++ b/var/spack/repos/builtin/packages/assimp/package.py
@@ -31,6 +31,7 @@ class Assimp(CMakePackage):
variant('shared', default=True,
description='Enables the build of shared libraries')
+ depends_on('pkgconfig', type='build')
depends_on('zlib')
depends_on('boost')
@@ -39,6 +40,9 @@ class Assimp(CMakePackage):
def cmake_args(self):
args = [
+ '-DASSIMP_HUNTER_ENABLED=OFF',
+ '-DASSIMP_BUILD_ZLIB=OFF',
+ '-DASSIMP_BUILD_MINIZIP=OFF',
'-DASSIMP_BUILD_TESTS=OFF',
self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
]