opencv: allow compilation against 4.2.x
This commit is contained in:
parent
5298d95195
commit
a2cfd93891
@ -65,7 +65,7 @@ if opencv_found
|
||||
endif
|
||||
endforeach
|
||||
else
|
||||
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.2.0'], required : false)
|
||||
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.3.0'], required : false)
|
||||
opencv_found = opencv_dep.found()
|
||||
if opencv_found
|
||||
foreach h : libopencv4_headers
|
||||
|
Loading…
x
Reference in New Issue
Block a user