From 6c9712de846fb2fede4e577b3fff06eb92e86a49 Mon Sep 17 00:00:00 2001 From: Vlad Shakhuro Date: Tue, 12 Aug 2014 13:41:55 +0400 Subject: [PATCH] Fix build errors --- modules/adas/tools/fcw_detect/CMakeLists.txt | 3 ++- modules/adas/tools/fcw_train/CMakeLists.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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})