Skip to content
Snippets Groups Projects
Commit eb420137 authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Massimiliano Culpo
Browse files

Remove std_cmake_args from VTK definition (#6856)

parent 697f1061
Branches
Tags
No related merge requests found
......@@ -64,8 +64,7 @@ def cmake_args(self):
qt_ver = spec['qt'].version.up_to(1)
qt_bin = spec['qt'].prefix.bin
cmake_args = std_cmake_args[:]
cmake_args.extend([
cmake_args = [
'-DBUILD_SHARED_LIBS=ON',
'-DVTK_RENDERING_BACKEND:STRING={0}'.format(opengl_ver),
'-DVTK_USE_SYSTEM_HDF5=ON',
......@@ -86,7 +85,7 @@ def cmake_args(self):
'-DVTK_QT_VERSION:STRING={0}'.format(qt_ver),
'-DQT_QMAKE_EXECUTABLE:PATH={0}/qmake'.format(qt_bin),
'-DVTK_Group_Qt:BOOL=ON',
])
]
# NOTE: The following definitions are required in order to allow
# VTK to build with qt~webkit versions (see the documentation for
......@@ -99,7 +98,9 @@ def cmake_args(self):
])
if spec.satisfies('@:6.1.0'):
cmake_args.append('-DCMAKE_C_FLAGS=-DGLX_GLXEXT_LEGACY')
cmake_args.append('-DCMAKE_CXX_FLAGS=-DGLX_GLXEXT_LEGACY')
cmake_args.extend([
'-DCMAKE_C_FLAGS=-DGLX_GLXEXT_LEGACY',
'-DCMAKE_CXX_FLAGS=-DGLX_GLXEXT_LEGACY'
])
return cmake_args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment