Commit 1c00d586 authored by Ben Boeckel's avatar Ben Boeckel

OpenGL: silence deprecation warnings on macOS

VTK isn't moving off of OpenGL any time soon.
parent 5caea543
......@@ -41,6 +41,12 @@ else ()
cmake_policy(POP)
if (APPLE)
vtk_module_definitions(VTK::opengl
INTERFACE
GL_SILENCE_DEPRECATION)
endif ()
if (VTK_USE_OPENGL_DELAYED_LOAD)
vtk_module_link(VTK::opengl
PRIVATE
......
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