
[~] Automatically tracked dependencies between modules [+] Support for optional module dependencies [+] Options to choose modules to build [~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk [+] Added COMPONENTS support for FIND_PACKAGE(OpenCV) [~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
6 lines
135 B
CMake
6 lines
135 B
CMake
if(NOT OPENCV_MODULES_PATH)
|
|
set(OPENCV_MODULES_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
endif()
|
|
|
|
ocv_glob_modules(${OPENCV_MODULES_PATH})
|