mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
meson: Do not warn when a windowing system is not found
Error out when the vulkan option is enabled, and just print a message() otherwise. This is more correct and also allows us to pass --fatal-meson-warnings more reliably. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1391>
This commit is contained in:
parent
52ef192526
commit
d4fa35efb9
1 changed files with 5 additions and 1 deletions
|
@ -265,7 +265,11 @@ if host_system == 'android'
|
|||
endif
|
||||
|
||||
if not vulkan_windowing
|
||||
warning('No Windowing system found. vulkansink will not work')
|
||||
if get_option('vulkan').enabled()
|
||||
error('No Windowing system found. vulkansink will not work')
|
||||
else
|
||||
message('No Windowing system found. vulkansink will not work')
|
||||
endif
|
||||
endif
|
||||
|
||||
# Only needed for the vulkan plugin, but doesn't make sense to build
|
||||
|
|
Loading…
Reference in a new issue