opencv/modules
Gursimar Singh bbd36a0ec1
Merge pull request #27246 from gursimarsingh:bug_fix/mcc_dnn_dependency
Fix hard dependency of dnn for mcc module. #27246

Currently building objdetect module without dnn fails due to mcc module. This PR makes the dependency optional, by checking if DNN is available in mcc module. 

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2025-04-22 08:27:36 +03:00
..
3d Merge branch 4.x 2025-03-11 17:23:06 +03:00
calib Merge branch 4.x 2025-02-20 13:58:04 +03:00
core Merge pull request #27068 from fengyuentau:5x-merge-4x/core/normDiff-simd 2025-03-24 09:25:18 +03:00
dnn Merge pull request #27102 from nklskyoy:test_gemm_3inputs 2025-03-24 11:06:29 +03:00
features Merge branch 4.x 2025-02-20 13:58:04 +03:00
flann flann: remove unused hdf5 header 2024-11-14 19:44:10 +03:00
highgui remove legacy/undefined CvArr reference in window_QT.h 2025-04-01 14:08:45 -05:00
imgcodecs Merge branch 4.x 2025-03-11 17:23:06 +03:00
imgproc Merge branch 4.x 2025-03-11 17:23:06 +03:00
java Merge branch 4.x 2025-02-20 13:58:04 +03:00
js Merge branch 4.x 2025-02-05 09:28:27 +03:00
objc Merge branch 4.x 2025-02-05 09:28:27 +03:00
objdetect Merge pull request #27246 from gursimarsingh:bug_fix/mcc_dnn_dependency 2025-04-22 08:27:36 +03:00
photo Merge branch 4.x 2025-02-20 13:58:04 +03:00
python Merge branch 4.x 2025-03-11 17:23:06 +03:00
stereo Merge branch 4.x 2025-03-05 10:28:32 +03:00
stitching Merge branch 4.x 2025-02-20 13:58:04 +03:00
ts Merge branch 4.x 2025-03-05 10:28:32 +03:00
video Merge branch 4.x 2025-02-20 13:58:04 +03:00
videoio Merge branch 4.x 2025-03-05 10:28:32 +03:00
world Merge pull request #26405 from kaingwade:rename_features2d 2024-11-12 11:04:48 +03:00
CMakeLists.txt Merge pull request #26405 from kaingwade:rename_features2d 2024-11-12 11:04:48 +03:00