• 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 Loading commit data...
CMakeLists.txt Loading commit data...
module.cmake Loading commit data...
vtkClientServerCompositePass.cxx Loading commit data...
vtkClientServerCompositePass.h Loading commit data...
vtkClientServerSynchronizedRenderers.cxx Loading commit data...
vtkClientServerSynchronizedRenderers.h Loading commit data...
vtkCompositeRGBAPass.cxx Loading commit data...
vtkCompositeRGBAPass.h Loading commit data...
vtkCompositeRenderManager.cxx Loading commit data...
vtkCompositeRenderManager.h Loading commit data...
vtkCompositeZPass.cxx Loading commit data...
vtkCompositeZPass.h Loading commit data...
vtkCompositeZPassFS.glsl Loading commit data...
vtkCompositeZPassShader_fs.glsl Loading commit data...
vtkCompositedSynchronizedRenderers.cxx Loading commit data...
vtkCompositedSynchronizedRenderers.h Loading commit data...
vtkCompositer.cxx Loading commit data...
vtkCompositer.h Loading commit data...
vtkCompressCompositer.cxx Loading commit data...
vtkCompressCompositer.h Loading commit data...
vtkImageRenderManager.cxx Loading commit data...
vtkImageRenderManager.h Loading commit data...
vtkPHardwareSelector.cxx Loading commit data...
vtkPHardwareSelector.h Loading commit data...
vtkParallelRenderManager.cxx Loading commit data...
vtkParallelRenderManager.h Loading commit data...
vtkSynchronizedRenderWindows.cxx Loading commit data...
vtkSynchronizedRenderWindows.h Loading commit data...
vtkSynchronizedRenderers.cxx Loading commit data...
vtkSynchronizedRenderers.h Loading commit data...
vtkTreeCompositer.cxx Loading commit data...
vtkTreeCompositer.h Loading commit data...