Skip to content
Snippets Groups Projects

conditional addition of VTKm_OPENLGL_INCLUDE_DIRS

Merged Matt Larsen requested to merge mclarsen/vtk-m:no_opengl_rendering_fix into master
  1. Jul 10, 2017
    • Matt Larsen's avatar
      On a system that has no opengl or mesa and with rendering enabled (such as... · 013ff1ba
      Matt Larsen authored
      On a system that has no opengl or mesa and with rendering enabled (such as docker container), vtkm fails to configure
      
      when adding target_include_directories for the rendering library. I believe this happens because cmake determines that the variable VTKm_OPENGL_INCLUDE_DIRECTORIES is dependent on OPENGL_INCLUDE_DIRS( which is NOTFOUND). This causes cmake to raise an error even when VTKm_OPENGL_INCLUDE_DIRECTORIES is set to "".
      013ff1ba
Loading