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

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading