diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-05-23 07:44:24 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-05-23 07:44:24 +0200 |
commit | beb8b0dad71871aa66b63901b3e6b6c047e1a646 (patch) | |
tree | f96b49e7dabca98306db6cf716592c62adcc9b77 /facedetect/meson.build | |
parent | 2861a48339aa0756131008dfaf399426c97de34b (diff) | |
parent | 08f04632f65e109dae9bd554621e33454adacf41 (diff) |
Merge branch 'release/debian/0.30.16-1'debian/0.30.16-1
Diffstat (limited to 'facedetect/meson.build')
-rw-r--r-- | facedetect/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/facedetect/meson.build b/facedetect/meson.build index 6724abc..bd5f3c3 100644 --- a/facedetect/meson.build +++ b/facedetect/meson.build @@ -1,6 +1,9 @@ subproject = ('facedetect') add_languages('cpp') -facedetect_dep = dependency('opencv', version : ['>= 2.3.0'], required : true) +facedetect_dep = dependency('opencv4', version : ['>= 4.0.0'], required : false) +if not facedetect_dep.found() + facedetect_dep = dependency('opencv', version : ['>= 3.4.0'], required : true) +endif executable('shotwell-facedetect', 'shotwell-facedetect.cpp', dependencies : facedetect_dep, |