]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - CMakeLists.txt
macos: ignore warnings about OpenGL being deprecated
[xonotic/netradiant.git] / CMakeLists.txt
index b01730e8fcd1690b2d081fefb019385719e6d542..32158ffcd4ba84dd8e4cd8b2cdb0b78adff4d246 100644 (file)
@@ -373,7 +373,8 @@ if (BUILTIN_GTKGLEXT)
         CONFIGURE_COMMAND export LDFLAGS=${GTKGLEXT_LDFLAGS}
         CONFIGURE_COMMAND && NOCONFIGURE=1 ./autogen.sh
         CONFIGURE_COMMAND && ./configure --prefix "${BUILTINS_INSTALL_DIR}" ${CONFIGURE_OPTIONS}
-        BUILD_COMMAND $(MAKE) CFLAGS=${GTKGLEXT_CFLAGS} LDFLAGS=${GTKGLEXT_LDFLAGS}
+        BUILD_COMMAND GL_SILENCE_DEPRECATION=1
+        BUILD_COMMAND && $(MAKE) CFLAGS=${GTKGLEXT_CFLAGS} LDFLAGS=${GTKGLEXT_LDFLAGS}
         INSTALL_COMMAND $(MAKE) install
     )