From 6202c06869571e0fc214f61a738ed19773c8a967 Mon Sep 17 00:00:00 2001 From: Hleb Valoshka <375gnu@gmail.com> Date: Tue, 27 Aug 2019 23:23:21 +0300 Subject: [PATCH] [osx] Silence warnings about deprecated OpenGL --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4f6ce37..a554ed02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,6 +270,7 @@ if(APPLE) if (NATIVE_OSX_APP) add_definitions(-DNATIVE_OSX_APP) endif() + add_definitions(-DGL_SILENCE_DEPRECATION) endif() string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lc)