Skip to content

Commit b8fa295

Browse files
author
Thomas Guerneve
committed
Added missing hunter_add_package
1 parent 91b325a commit b8fa295

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,10 @@ ocv_include_directories(${OPENCV_CONFIG_FILE_INCLUDE_DIR})
582582
# Path for additional modules
583583
# ----------------------------------------------------------------------------
584584
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()
585589

586590
# ----------------------------------------------------------------------------
587591
# Autodetect if we are in a GIT repository

0 commit comments

Comments
 (0)