Skip to content

meson: fix build with opencv=enabled and opencv4. Fixes #964

Having the opencv feature enabled would lead to the opencv3 dependency being required which failed with only opencv4 being available.

Instead don't require anything and error out at the end if the feature was enabled but no dependency was found.

Merge request reports