Commit 19611a36 authored by Berk Geveci's avatar Berk Geveci

Added OpenGL includes for tests that directly include OpenGL.

Some tests that used OpenGL classes did not include OpenGL headers.
This worked by coincidence on systems where gl.h was in system path.
Didn't work on the Mac.

Change-Id: If13ef3605b239ddf8d345b82d374841e50d30601
parent 354ac5ca
......@@ -26,8 +26,6 @@
#include "vtkFloatArray.h"
#include "vtkLookupTable.h"
#include "vtkLookupTableItem.h"
#include "vtkOpenGLExtensionManager.h"
#include "vtkOpenGLRenderWindow.h"
#include "vtkPiecewiseControlPointsItem.h"
#include "vtkPiecewiseFunction.h"
#include "vtkPiecewiseFunctionItem.h"
......
......@@ -25,7 +25,7 @@
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkProperty.h>
#include <vtkOpenGLPolyDataMapper.h>
#include <vtkPolyDataMapper.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRenderWindowInteractor.h>
......
......@@ -33,4 +33,5 @@ set_source_files_properties(
ABSTRACT
)
include_directories(${OPENGL_INCLUDE_DIR})
vtk_module_library(vtkGeovisCore ${Module_SRCS})
......@@ -88,6 +88,8 @@ if(WIN32 AND NOT VTK_USE_X)
)
endif()
include_directories(${OPENGL_INCLUDE_DIR})
if(VTK_DATA_ROOT)
set(RenderingTestsWithArguments
${RenderingTestsWithArguments}
......
Markdown is supported
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