Commit 615f9c49 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri

Fix GLUT test compile failure

Missing include directory
parent 36fdeace
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)
FIND_PACKAGE(GLUT REQUIRED)
VTK_ADD_TEST_CXX(${vtk-module}CxxTests tests
TestGLUTRenderWindow.cxx
)
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${GLUT_INCLUDE_DIR}
)
VTK_TEST_CXX_EXECUTABLE(${vtk-module}CxxTests tests)
TARGET_LINK_LIBRARIES(${vtk-module}CxxTests LINK_PRIVATE
vtkRenderingExternal ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})
include(vtkOpenGL)
vtk_opengl_link(${vtk-module}CxxTests)
vtk_opengl_link(${vtk-module}CxxTests)
\ No newline at end of file
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