diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in index a61a106952..eee0f999b9 100644 --- a/package/opencv4/Config.in +++ b/package/opencv4/Config.in @@ -34,11 +34,14 @@ config BR2_PACKAGE_OPENCV4_LIB_DNN bool "dnn" # dnn needs fenv.h which is not provided by uclibc depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + select BR2_PACKAGE_OPENCV4_WITH_PROTOBUF help Include opencv_dnn (Deep Neural Networks) module into the OpenCV build. comment "dnn needs a glibc or musl toolchain" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D