Fix build for vtk6.1.0
This commit is contained in:
parent
0bcfd09536
commit
123996aad0
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ def install(self, spec, prefix):
|
|||
if spec['qt'].satisfies('@5'):
|
||||
cmake_args.append("-DVTK_QT_VERSION:STRING=5")
|
||||
|
||||
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(*cmake_args)
|
||||
make()
|
||||
make("install")
|
||||
|
|
Loading…
Reference in a new issue