We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4af9e commit dc2a08bCopy full SHA for dc2a08b
CMakeLists.txt
@@ -659,6 +659,10 @@ ocv_include_directories(${OPENCV_CONFIG_FILE_INCLUDE_DIR})
659
# Path for additional modules
660
# ----------------------------------------------------------------------------
661
set(OPENCV_EXTRA_MODULES_PATH "" CACHE PATH "Where to look for additional OpenCV modules (can be ;-separated list of paths)")
662
+if(OPENCV_WITH_EXTRA_MODULES AND HUNTER_ENABLED)
663
+ hunter_add_package(OpenCV-Extra)
664
+ set(OPENCV_EXTRA_MODULES_PATH "${OPENCV-EXTRA_ROOT}/modules")
665
+endif()
666
667
668
# Autodetect if we are in a GIT repository
0 commit comments