Skip to content

Commit

Permalink
osdep/meson: add -DGL_SILENCE_DEPRECATION for swift compile
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Nov 23, 2023
1 parent 8ccd285 commit acd1705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osdep/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')]

Expand Down

0 comments on commit acd1705

Please sign in to comment.