Commit 615f9c49 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri 💬
Browse files

Fix GLUT test compile failure

Missing include directory
parent 36fdeace
Pipeline #7726 passed with stage
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})
......
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