mirror of https://github.com/mpv-player/mpv
meson: add link flags also to cpp
If subprojects are used, linking language of mpv might be upgraded to C++ add our flags there too.
This commit is contained in:
parent
0d18c1bfdc
commit
d79aef1425
|
@ -392,7 +392,7 @@ endif
|
|||
|
||||
add_project_arguments(flags, language: 'c')
|
||||
add_project_arguments(['-Wno-unused-parameter'], language: 'objc')
|
||||
add_project_link_arguments(link_flags, language: ['c', 'objc'])
|
||||
add_project_link_arguments(link_flags, language: ['c', 'cpp', 'objc'])
|
||||
|
||||
|
||||
# osdep
|
||||
|
|
Loading…
Reference in New Issue