assimp: remove -Werror to allow compilation on Intel oneAPI (#29552)

This commit is contained in:
Wouter Deconinck 2022-03-17 04:54:53 -05:00 committed by GitHub
parent 3648adc2a7
commit fa9894ae16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,9 @@ class Assimp(CMakePackage):
depends_on('zlib')
depends_on('boost')
def patch(self):
filter_file('-Werror', '', 'code/CMakeLists.txt')
def cmake_args(self):
args = [
'-DASSIMP_BUILD_TESTS=OFF',