Fix: bug in VTK package (#9431)
* Fix: bug in VTK package Fix for issue 9423 (https://github.com/spack/spack/issues/9423): compilers other than clang don't have the `is_apple` property. * VTK package: removing trailing whitespace So flake8 stops complaining.
This commit is contained in:
parent
c0249eddb1
commit
baa664ffaa
@ -212,7 +212,8 @@ def cmake_args(self):
|
||||
# string. This fix was recommended on the VTK mailing list
|
||||
# in March 2014 (see
|
||||
# https://public.kitware.com/pipermail/vtkusers/2014-March/083368.html)
|
||||
if (self.compiler.is_apple and
|
||||
if (self.spec.satisfies('%clang') and
|
||||
self.compiler.is_apple and
|
||||
self.compiler.version >= Version('5.1.0')):
|
||||
cmake_args.extend(['-DVTK_REQUIRED_OBJCXX_FLAGS=""'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user