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