From: Thomas Debesse Date: Thu, 11 Mar 2021 06:08:25 +0000 (+0100) Subject: cmake: OBJC is not passed to gtkglext build tools X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6f4e73fa585738042b3752d334e76efda58e9771;p=xonotic%2Fnetradiant.git cmake: OBJC is not passed to gtkglext build tools --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f8b284..7a044031 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,7 +387,8 @@ if (BUILTIN_GTKGLEXT) if (APPLE) set(GTKGLEXT_CFLAGS "${GTKGLEXT_CFLAGS} -DGL_SILENCE_DEPRECATION=1") - set(OBJC "${OBJC} -DGL_SILENCE_DEPRECATION=1") + # FIXME: OpenGL deprecation warnings are not silenced + # in Objective C code. endif () ExternalProject_Add(gtkglext