vtk: remove redundant option setting (#9597)
This eliminates duplicates for a couple options which are set multiple times.
This commit is contained in:
parent
26bacbcb8c
commit
3c387bfa39
@ -175,12 +175,6 @@ def cmake_args(self):
|
||||
'-DModule_vtkGUISupportQtOpenGL:BOOL=ON',
|
||||
])
|
||||
|
||||
if '+mpi' in spec:
|
||||
cmake_args.extend([
|
||||
'-DVTK_Group_MPI:BOOL=ON',
|
||||
'-DVTK_USE_SYSTEM_DIY2=OFF'
|
||||
])
|
||||
|
||||
if '+xdmf' in spec:
|
||||
if spec.satisfies('^cmake@3.12:'):
|
||||
# This policy exists only for CMake >= 3.12
|
||||
@ -190,7 +184,6 @@ def cmake_args(self):
|
||||
# Enable XDMF Support here
|
||||
"-DModule_vtkIOXdmf2:BOOL=ON",
|
||||
"-DModule_vtkIOXdmf3:BOOL=ON",
|
||||
"-DModule_vtkIOParallelXdmf3:BOOL=ON",
|
||||
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
|
||||
"-DBOOST_LIBRARY_DIR={0}".format(spec['boost'].prefix.lib),
|
||||
"-DBOOST_INCLUDE_DIR={0}".format(spec['boost'].prefix.include),
|
||||
|
Loading…
Reference in New Issue
Block a user