Commit 2d0f3956 authored by Martin Heistermann's avatar Martin Heistermann

cmake: disable mac warningss about opengl being deprecated

parent b35dfb7e
......@@ -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