• 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:
    for every ${module} that uses OpenGL. This takes care of include directories and
    linking of proper libraries.
CMakeLists.txt 3.49 KB