mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
17 lines
540 B
Meson
17 lines
540 B
Meson
if not add_languages('cpp', native: false, required: get_option('openni2'))
|
|
subdir_done()
|
|
endif
|
|
|
|
openni2_dep = dependency('libopenni2', version: '>= 0.26', required: get_option('openni2'))
|
|
if openni2_dep.found()
|
|
gstopenni2 = library('gstopenni2',
|
|
'gstopenni2.cpp', 'gstopenni2src.cpp',
|
|
cpp_args: gst_plugins_bad_args,
|
|
link_args: noseh_link_args,
|
|
include_directories: [configinc],
|
|
dependencies: [gstvideo_dep, openni2_dep],
|
|
install: true,
|
|
install_dir: plugins_install_dir,
|
|
)
|
|
plugins += [gstopenni2]
|
|
endif
|