Open michaelgruner opened 4 years ago
Why are these limits as these? These cannot be like these
opencv_dep = dependency('opencv', version : ['>= 2.3.1', '< 2.4.13'], required : false)
if opencv_dep.found()
cdata.set('OCV_VERSION_LT_3_2', 1)
endif
if not opencv_dep.found()
opencv_dep = dependency('opencv', version : ['>= 3.2.0', '< 3.5.0'], required : false)
if not opencv_dep.found()
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.3.0'], required : false)
if opencv_dep.found()
cdata.set('OCV_VERSION_4_0', 1)
endif
endif
endif
It doesn't even cover the full range of versions...
In my Mac OSX:
I get the following: