mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
avtp: Add libavtp fallback dependence
So that libavtp can be found if added as subproject on gst-build. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1271>
This commit is contained in:
parent
dac36cb98f
commit
a754c67c05
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ avtp_sources = [
|
|||
'gstavtpcrfcheck.c',
|
||||
]
|
||||
|
||||
avtp_dep = dependency('avtp', required: get_option('avtp'))
|
||||
avtp_dep = dependency('avtp', required: get_option('avtp'),
|
||||
fallback: ['avtp', 'avtp_dep'])
|
||||
|
||||
if avtp_dep.found() and cc.has_type('struct sock_txtime', prefix : '#include <linux/net_tstamp.h>')
|
||||
gstavtp = library('gstavtp',
|
||||
|
|
Loading…
Reference in a new issue