avoid warnings due to the deprecated opengl on apple

This commit is contained in:
Dmitry Anisimov 2021-02-26 09:58:52 +01:00
parent 1a040c8552
commit 2bb1e7f3c9
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#ifdef __APPLE__
#define GL_SILENCE_DEPRECATION
#endif
#include <CGAL/basic.h>
#include "volume.h"