opencv-4.6.0-fix-build-examples.patch 700 B

12345678910111213141516171819202122
  1. From 5acf351e4b9d099d446f401df690d559ed5dfdad Mon Sep 17 00:00:00 2001
  2. From: Prasanth R <prasanth.r@timesys.com>
  3. Date: Thu, 14 Jul 2022 13:34:54 +0530
  4. Subject: [PATCH] #21804 Add opencv_gapi as dep to samples/cpp
  5. ---
  6. samples/cpp/CMakeLists.txt | 1 +
  7. 1 file changed, 1 insertion(+)
  8. diff --git a/samples/cpp/CMakeLists.txt b/samples/cpp/CMakeLists.txt
  9. index c9c4440f22c7..f23b333ca93a 100644
  10. --- a/samples/cpp/CMakeLists.txt
  11. +++ b/samples/cpp/CMakeLists.txt
  12. @@ -15,6 +15,7 @@ set(OPENCV_CPP_SAMPLES_REQUIRED_DEPS
  13. opencv_calib3d
  14. opencv_stitching
  15. opencv_dnn
  16. + opencv_gapi
  17. ${OPENCV_MODULES_PUBLIC}
  18. ${OpenCV_LIB_COMPONENTS})
  19. ocv_check_dependencies(${OPENCV_CPP_SAMPLES_REQUIRED_DEPS})