mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
Revert "Meson: Avoid using add_global_arguments() when gst-build is a subproject"
This reverts commit ebcca1e5ea
.
/utf-8 is needed to deal with subprojects that we do not control.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/259>
This commit is contained in:
parent
a31e9dcf43
commit
06869815fd
1 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,13 @@ if not meson.is_subproject() and cc.get_id() == 'msvc'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Ensure that MSVC interprets all source code as UTF-8
|
||||||
|
if cc.get_id() == 'msvc'
|
||||||
|
add_global_arguments(
|
||||||
|
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
|
||||||
|
language: ['c', 'cpp'])
|
||||||
|
endif
|
||||||
|
|
||||||
# Ordered list of subprojects (dict has no ordering guarantees)
|
# Ordered list of subprojects (dict has no ordering guarantees)
|
||||||
subprojects = [
|
subprojects = [
|
||||||
['gstreamer', {'build-hotdoc': true}],
|
['gstreamer', {'build-hotdoc': true}],
|
||||||
|
|
Loading…
Reference in a new issue