diff --git a/modules/adas/tools/fcw_detect/CMakeLists.txt b/modules/adas/tools/fcw_detect/CMakeLists.txt index 9ddf61d92..b23e35fd6 100644 --- a/modules/adas/tools/fcw_detect/CMakeLists.txt +++ b/modules/adas/tools/fcw_detect/CMakeLists.txt @@ -1,7 +1,8 @@ set(name fcw_detect) set(the_target opencv_${name}) -set(OPENCV_${the_target}_DEPS opencv_xobjdetect) +set(OPENCV_${the_target}_DEPS opencv_core opencv_imgcodecs opencv_videoio + opencv_highgui opencv_xobjdetect) ocv_check_dependencies(${OPENCV_${the_target}_DEPS}) diff --git a/modules/adas/tools/fcw_train/CMakeLists.txt b/modules/adas/tools/fcw_train/CMakeLists.txt index 51754a000..bdbc28939 100644 --- a/modules/adas/tools/fcw_train/CMakeLists.txt +++ b/modules/adas/tools/fcw_train/CMakeLists.txt @@ -1,7 +1,8 @@ set(name fcw_train) set(the_target opencv_${name}) -set(OPENCV_${the_target}_DEPS opencv_xobjdetect) +set(OPENCV_${the_target}_DEPS opencv_core opencv_imgcodecs opencv_videoio + opencv_highgui opencv_xobjdetect) ocv_check_dependencies(${OPENCV_${the_target}_DEPS})