From 4de76ce87a545cd86ef493129b4cfeafe10e8e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 24 Oct 2023 02:20:03 +0200 Subject: [PATCH] osdep/meson: add libplacebo include dir to swift compile --- osdep/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osdep/meson.build b/osdep/meson.build index a577a039e1..60fc2f6d57 100644 --- a/osdep/meson.build +++ b/osdep/meson.build @@ -33,7 +33,9 @@ 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, + '-I' + libplacebo.get_variable('includedir', + default_value: source_root / 'subprojects' / 'libplacebo' / 'src' / 'include')] swift_targets = custom_target('swift_targets', input: swift_sources,