assimp: depends on pkgconfig; disable bundled dependencies (#29551)
* [assimp] depends_on pkgconfig and disable hunter, build zlib/minizip
This commit is contained in:
parent
e174623edf
commit
b26b3bebb4
1 changed files with 4 additions and 0 deletions
|
@ -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 @@ def patch(self):
|
|||
|
||||
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'),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue