Skip to content
Snippets Groups Projects
Commit 123996aa authored by Dhanannjay Deo's avatar Dhanannjay Deo
Browse files

Fix build for vtk6.1.0

parent 0bcfd095
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,10 @@ def install(self, spec, prefix): ...@@ -39,6 +39,10 @@ def install(self, spec, prefix):
if spec['qt'].satisfies('@5'): if spec['qt'].satisfies('@5'):
cmake_args.append("-DVTK_QT_VERSION:STRING=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) cmake(*cmake_args)
make() make()
make("install") make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment