The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

meson: Fix build when /usr/local/include doesn't exist.

include_directories() will fail the build if the directory doesn't
exist. Only require /usr/local/include if the leap library is found.

+4 -1
+4 -1
meson.build
··· 85 85 gst_found = gst.found() and gst_app.found() and gst_video.found() 86 86 87 87 leap = cc.find_library('Leap', dirs : ['/usr/local/lib'], required: false) 88 - inc_leap = include_directories('/usr/local/include') 88 + inc_leap = [] 89 + if leap.found() 90 + inc_leap += include_directories('/usr/local/include') 91 + endif 89 92 90 93 opencv = dependency('opencv', required: get_option('tracking')) 91 94 if not opencv.found()