We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91b325a commit b8fa295Copy full SHA for b8fa295
CMakeLists.txt
@@ -582,6 +582,10 @@ ocv_include_directories(${OPENCV_CONFIG_FILE_INCLUDE_DIR})
582
# Path for additional modules
583
# ----------------------------------------------------------------------------
584
set(OPENCV_EXTRA_MODULES_PATH "" CACHE PATH "Where to look for additional OpenCV modules (can be ;-separated list of paths)")
585
+if(OPENCV_WITH_EXTRA_MODULES)
586
+ hunter_add_package(OpenCV-Extra)
587
+ set(OPENCV_EXTRA_MODULES_PATH "${OPENCV-EXTRA_ROOT}/modules")
588
+endif()
589
590
591
# Autodetect if we are in a GIT repository
0 commit comments