mirror of https://github.com/mpv-player/mpv
osdep/meson: add libplacebo include dir to swift compile
This commit is contained in:
parent
2f5f15039d
commit
4de76ce87a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue