mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
meson: Allow percetto to be used with meson
You may need to specify --libdir=$installdir/lib when installing percetto, otherwise it gets installed on $installdir/lib/x86_64-linux-gnu by default and meson might not look for the appropriate pkgconfig in there.
This commit is contained in:
parent
f9d0bfb80a
commit
d61a695f13
|
@ -79,6 +79,7 @@ gst_app = dependency('gstreamer-app-1.0', required: false)
|
|||
gst_video= dependency('gstreamer-video-1.0', required: false)
|
||||
depthai = dependency('depthai', method: 'cmake', modules : ['depthai::core', 'depthai::opencv', 'XLink'], required: false)
|
||||
onnxruntime = dependency('libonnxruntime', required: false)
|
||||
percetto = dependency('percetto', required: false)
|
||||
|
||||
gst_found = gst.found() and gst_app.found() and gst_video.found()
|
||||
|
||||
|
|
|
@ -16,6 +16,10 @@ if libbsd.found() and not get_option('libbsd').disabled()
|
|||
aux_util_deps += libbsd
|
||||
endif
|
||||
|
||||
if percetto.found()
|
||||
aux_util_deps += percetto
|
||||
endif
|
||||
|
||||
lib_aux_util = static_library(
|
||||
'aux_util',
|
||||
files(
|
||||
|
|
|
@ -119,6 +119,10 @@ if build_wayland_direct
|
|||
have_conf.set('XRT_HAVE_WAYLAND_DIRECT', true)
|
||||
endif
|
||||
|
||||
if percetto.found()
|
||||
have_conf.set('XRT_HAVE_PERCETTO', true)
|
||||
endif
|
||||
|
||||
xrt_config_have_h = configure_file(
|
||||
output: 'xrt_config_have.h',
|
||||
configuration: have_conf,
|
||||
|
|
Loading…
Reference in a new issue