vcpkg/ports/gstreamer/base-must-be-enabled.patch
2023-10-18 10:14:26 -07:00

14 lines
557 B
Diff

diff --git a/meson.build b/meson.build
index 6d07929..df015cb 100644
--- a/meson.build
+++ b/meson.build
@@ -159,7 +159,7 @@ foreach sp : subprojects
subproj = subproject(project_name, required: is_required, default_options: default_options)
endif
- if project_name == 'gst-plugins-base'
+ if project_name == 'gst-plugins-base' and subproj.found()
gst_base_orc_req = subproj.get_variable('orc_req', '')
if gst_base_orc_req != orc_req
error('orc_req is "@0@" but it should be "@1@" from subprojects/gst-plugins-base/meson.build'