Commit 8eb406a6 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'mac-no-gl-deprecation' into 'master'

cmake: disable mac warnings about opengl being deprecated

See merge request !157
parents fa2f2c2a 2d0f3956
......@@ -217,6 +217,11 @@ if(NO_DECREMENT_DEPRECATED_WARNINGS)
add_definitions( -DNO_DECREMENT_DEPRECATED_WARNINGS )
endif()
# do not show "opengl is deprecated" warnings
if (APPLE)
add_definitions( -DGL_SILENCE_DEPRECATION )
endif()
find_package(ACG)
# OpenMesh is a dependent project (in libs_required) so no finder is needed.
......
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