]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
cmake: OBJC is not passed to gtkglext build tools
authorThomas Debesse <dev@illwieckz.net>
Thu, 11 Mar 2021 06:08:25 +0000 (07:08 +0100)
committerThomas Debesse <dev@illwieckz.net>
Thu, 11 Mar 2021 08:54:19 +0000 (09:54 +0100)
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