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>
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