summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'),
]