samples: cmake: digits needs opencv_dnn module to build

Intrudeced in commit 397ba2d9aafb5312e777ce2f886d7b568109e931:
add OpenCV sample for digit and text recongnition, and provide multiple OCR models.
397ba2d9aa

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
pull/18806/head
Jose Quaresma 4 years ago
parent 691c3d1e3c
commit 79a82013ad
  1. 1
      samples/cpp/CMakeLists.txt

@ -14,6 +14,7 @@ set(OPENCV_CPP_SAMPLES_REQUIRED_DEPS
opencv_features2d
opencv_calib3d
opencv_stitching
opencv_dnn
${OPENCV_MODULES_PUBLIC}
${OpenCV_LIB_COMPONENTS})
ocv_check_dependencies(${OPENCV_CPP_SAMPLES_REQUIRED_DEPS})

Loading…
Cancel
Save