Commit dcadad3b authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri Committed by Kitware Robot

Merge topic 'External_Rendering_OpenGL_Link'

09965ed1 COMP: Use vtkOpenGL.cmake for vtkRenderingExternal module
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Dan Lipsa's avatarDan Lipsa <dan.lipsa@kitware.com>
Merge-request: !633
parents e63f93a6 09965ed1
......@@ -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)
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