summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-24 02:20:03 +0200
committerDudemanguy <random342@airmail.cc>2023-10-24 01:30:22 +0000
commit4de76ce87a545cd86ef493129b4cfeafe10e8e98 (patch)
tree2bd05754ab1a247c44cdb23381c5090fb5306fbf /osdep
parent2f5f15039db53da48769c43e110acb69e64203c5 (diff)
downloadmpv-4de76ce87a545cd86ef493129b4cfeafe10e8e98.tar.bz2
mpv-4de76ce87a545cd86ef493129b4cfeafe10e8e98.tar.xz
osdep/meson: add libplacebo include dir to swift compile
Diffstat (limited to 'osdep')
-rw-r--r--osdep/meson.build4
1 files changed, 3 insertions, 1 deletions
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,