Skip to content
Snippets Groups Projects
Commit 09965ed1 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri :speech_balloon:
Browse files

COMP: Use vtkOpenGL.cmake for vtkRenderingExternal module

parent be56939c
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ set(${vtk-module}_HDRS
)
vtk_module_library(vtkRenderingExternal ${Module_SRCS})
include(vtkOpenGL)
vtk_opengl_link(${vtk-module})
if ("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL2")
set_target_properties(
......
......@@ -11,3 +11,5 @@ VTK_ADD_TEST_CXX(${vtk-module}CxxTests tests
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment