cmake: OBJC is not passed to gtkglext build tools
[xonotic/netradiant.git] / CMakeLists.txt
index d3f8b284d15e190e1904864526a65a1397eb3801..7a04403144f9618dd01d9dcf408aff56403847d6 100644 (file)
@@ -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