configure: fail if OpenCV requested but not found

This commit is contained in:
Martin Pulec
2022-10-21 11:44:07 +02:00
parent 8413b6f117
commit 6eeef0b635

View File

@@ -1364,6 +1364,10 @@ else
opencv_version=
fi
if test "$opencv" = no && test "$opencv_req" = yes; then
AC_MSG_ERROR([OpenCV dependencies not found!]);
fi
# -------------------------------------------------------------------------------------------------
# RTSP capture stuff
# -------------------------------------------------------------------------------------------------