diff --git a/samples/cpp/CMakeLists.txt b/samples/cpp/CMakeLists.txt index c9c4440f22..f23b333ca9 100644 --- a/samples/cpp/CMakeLists.txt +++ b/samples/cpp/CMakeLists.txt @@ -15,6 +15,7 @@ set(OPENCV_CPP_SAMPLES_REQUIRED_DEPS opencv_calib3d opencv_stitching opencv_dnn + opencv_gapi ${OPENCV_MODULES_PUBLIC} ${OpenCV_LIB_COMPONENTS}) ocv_check_dependencies(${OPENCV_CPP_SAMPLES_REQUIRED_DEPS})