Commit 22c6a408 authored by Committed by Sebastian Dröge
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.
Showing with 4 additions and 2 deletions