Commit a361ba6e authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

STYLE: Only compile GLSL test if GLSL is enabled.

parent 114c7cf3
...@@ -14,7 +14,6 @@ IF (VTK_USE_RENDERING AND VTK_USE_VIEWS) ...@@ -14,7 +14,6 @@ IF (VTK_USE_RENDERING AND VTK_USE_VIEWS)
TestBarGraph.cxx TestBarGraph.cxx
TestContext.cxx TestContext.cxx
TestDiagram.cxx TestDiagram.cxx
TestGLSL.cxx
TestLinePlot.cxx TestLinePlot.cxx
TestMarks.cxx TestMarks.cxx
TestMarksCallback.cxx TestMarksCallback.cxx
...@@ -31,6 +30,11 @@ IF (VTK_USE_RENDERING AND VTK_USE_VIEWS) ...@@ -31,6 +30,11 @@ IF (VTK_USE_RENDERING AND VTK_USE_VIEWS)
TestStackedBarGraph.cxx TestStackedBarGraph.cxx
TestStackedPlot.cxx TestStackedPlot.cxx
) )
IF(VTK_USE_GLSL_SHADERS)
SET(MyTests ${MyTests}
TestGLSL.cxx
)
ENDIF(VTK_USE_GLSL_SHADERS)
ENDIF (VTK_DATA_ROOT) ENDIF (VTK_DATA_ROOT)
IF (VTK_USE_QT) IF (VTK_USE_QT)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment