diff --git a/var/spack/repos/builtin/packages/assimp/package.py b/var/spack/repos/builtin/packages/assimp/package.py index baaee33450..a0f950a978 100644 --- a/var/spack/repos/builtin/packages/assimp/package.py +++ b/var/spack/repos/builtin/packages/assimp/package.py @@ -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',