mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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
|
endif
|
||||||
|
|
||||||
if not vulkan_windowing
|
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
|
endif
|
||||||
|
|
||||||
# Only needed for the vulkan plugin, but doesn't make sense to build
|
# Only needed for the vulkan plugin, but doesn't make sense to build
|
||||||
|
|
Loading…
Reference in a new issue