Skip to content
Snippets Groups Projects
Commit f09903e4 authored by Dan Lipsa's avatar Dan Lipsa
Browse files

COMP: Add logic to selectively use OpenGL or OSMesa.

Use vtkOpenGL.cmake to decide to use (LINK_PRIVATE) OpenGL or Offscreen Mesa.
OpenGL is now LINK_PRIVATE, so additional libraries and tests need to include OpenGL.
Include the following in your CMakeLists.txt:

include(vtkOpenGL)
vtk_opengl_link(${module})

for every ${module} that uses OpenGL. This takes care of include directories and
linking of proper libraries.
parent c2a63124
Branches
Tags
No related merge requests found
Showing
with 72 additions and 95 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment