From 4f215ff2de4c68eb241c893dc3fc8957514f6cb8 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Wed, 3 Mar 2021 11:12:37 +0100 Subject: [PATCH] [ios] Silenced "Upgrade OpenGL to Metal" warnings Signed-off-by: Alexander Borsuk --- xcode/common.xcconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xcode/common.xcconfig b/xcode/common.xcconfig index 8f81a5b3b8..3878c2d51f 100644 --- a/xcode/common.xcconfig +++ b/xcode/common.xcconfig @@ -71,6 +71,9 @@ ENABLE_STRICT_OBJC_MSGSEND = YES GCC_C_LANGUAGE_STANDARD = c11 GCC_NO_COMMON_BLOCKS = YES GCC_PRECOMPILE_PREFIX_HEADER = YES +// Preprocessor definitions shared in all configurations and projects. +// Silence "Migrate from OpenGL to Metal" warnings. +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COREVIDEO_SILENCE_GL_DEPRECATION GLES_SILENCE_DEPRECATION ONLY_ACTIVE_ARCH = YES PRODUCT_NAME = $(TARGET_NAME) SKIP_INSTALL = YES