webcam: add /usr/include/opencv4 to CPPPATH (#22320)

pull/22328/head
Dean Lee 2021-09-24 02:43:51 +08:00 committed by GitHub
parent 1ba28af265
commit 5f9e0f7869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ else:
env = env.Clone()
env.Append(CXXFLAGS = '-DWEBCAM')
env.Append(CFLAGS = '-DWEBCAM')
env.Append(CPPPATH = '/usr/local/include/opencv4')
env.Append(CPPPATH = ['/usr/include/opencv4', '/usr/local/include/opencv4'])
else:
if USE_FRAME_STREAM:
cameras = ['cameras/camera_frame_stream.cc']