conditional addition of VTKm_OPENLGL_INCLUDE_DIRS
Compare changes
@@ -172,8 +172,13 @@ macro(vtkm_configure_component_OpenGL)
System updates will be applied on Mar 14th between 7am and 9am, EST (UTC-05:00). This site will have intermittent downtime during that time.
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 "".
This fixes the issue.