• Dan Lipsa's avatar
    COMP: Add logic to selectively use OpenGL or OSMesa. · f09903e4
    Dan Lipsa authored
    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.
    f09903e4
Name
Last commit
Last update
..
Testing/Cxx Loading commit data...
CMakeLists.txt Loading commit data...
module.cmake Loading commit data...
vtkGL2PSContextDevice2D.cxx Loading commit data...
vtkGL2PSContextDevice2D.h Loading commit data...
vtkGL2PSUtilities.cxx Loading commit data...
vtkGL2PSUtilities.h Loading commit data...