mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
subprojects: ntv2: Add check for libudev
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4079 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8068>
This commit is contained in:
parent
19e3617dc0
commit
0d674d3abc
1 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ configure_file(input : 'ajantv2/includes/ntv2version.h.in',
|
||||||
thread_dep = dependency('threads')
|
thread_dep = dependency('threads')
|
||||||
rt_dep = cxx.find_library('rt', required : false)
|
rt_dep = cxx.find_library('rt', required : false)
|
||||||
dl_dep = cxx.find_library('dl', required : false)
|
dl_dep = cxx.find_library('dl', required : false)
|
||||||
|
libudev_dep = dependency('libudev', required: true)
|
||||||
|
|
||||||
ajantv2_sources = [
|
ajantv2_sources = [
|
||||||
'ajaanc/src/ancillarydata.cpp',
|
'ajaanc/src/ancillarydata.cpp',
|
||||||
|
@ -178,7 +179,7 @@ ajantv2_inc = include_directories(
|
||||||
libajantv2 = static_library(
|
libajantv2 = static_library(
|
||||||
'libajantv2',
|
'libajantv2',
|
||||||
sources: ajantv2_sources,
|
sources: ajantv2_sources,
|
||||||
dependencies : [thread_dep, rt_dep, dl_dep],
|
dependencies : [thread_dep, rt_dep, dl_dep, libudev_dep],
|
||||||
cpp_args: [ajantv2_args, common_flags],
|
cpp_args: [ajantv2_args, common_flags],
|
||||||
include_directories: ajantv2_inc,
|
include_directories: ajantv2_inc,
|
||||||
pic: true,
|
pic: true,
|
||||||
|
|
Loading…
Reference in a new issue