From acd17051e71f09176370b40b8a16618715c42283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Thu, 23 Nov 2023 11:47:45 +0100 Subject: [PATCH] osdep/meson: add -DGL_SILENCE_DEPRECATION for swift compile --- osdep/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdep/meson.build b/osdep/meson.build index 21baafccddf54..f9b7c21d63550 100644 --- a/osdep/meson.build +++ b/osdep/meson.build @@ -25,7 +25,7 @@ swift_flags += extra_flags swift_compile = [swift_prog, swift_flags, '-module-name', 'macOS_swift', '-emit-module-path', '@OUTPUT0@', '-import-objc-header', bridge, '-emit-objc-header-path', '@OUTPUT1@', '-o', '@OUTPUT2@', - '@INPUT@', '-I.', '-I' + source_root, + '@INPUT@', '-I.', '-I' + source_root, '-DGL_SILENCE_DEPRECATION', '-I' + libplacebo.get_variable('includedir', default_value: source_root / 'subprojects' / 'libplacebo' / 'src' / 'include')]