Commit 474f0400 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Merge branch 'enable-osmesa-mac' into 'for/vtk-old'

Enable OSMesa on MacOS.

See merge request !3
parents 48f3df27 03cb813b
......@@ -20,8 +20,7 @@ target_compile_definitions(vtkglew
PRIVATE
GLEW_NO_GLU)
# GLEW with OSMesa only works on Linux systems right now.
if(VTK_OPENGL_HAS_OSMESA AND UNIX AND NOT APPLE)
if(VTK_OPENGL_HAS_OSMESA AND UNIX)
target_compile_definitions(vtkglew
PRIVATE
GLEW_OSMESA)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment