mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
Don't build gst-python if required deps aren't available
This commit is contained in:
parent
13ff7f43ec
commit
3942dc262b
1 changed files with 4 additions and 0 deletions
|
@ -57,7 +57,11 @@ if gst_libav.length() == 0
|
|||
endif
|
||||
|
||||
if get_option('python')
|
||||
if dependency('pygobject-3.0', required : false).found()
|
||||
subprojects += ['gst-python']
|
||||
else
|
||||
message('WARNING: not building gst-python module, missing pygobject-3.0')
|
||||
endif
|
||||
endif
|
||||
|
||||
if get_option('bad')
|
||||
|
|
Loading…
Reference in a new issue