From c6ea6d126df18db691845b05971fd0e7b5906191 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Thu, 26 Mar 2015 15:44:23 +0300 Subject: [PATCH] Fix build of tools with hal module --- modules/adas/tools/fcw_detect/CMakeLists.txt | 2 +- modules/adas/tools/fcw_train/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/adas/tools/fcw_detect/CMakeLists.txt b/modules/adas/tools/fcw_detect/CMakeLists.txt index 604aec718..d2f2a2e11 100644 --- a/modules/adas/tools/fcw_detect/CMakeLists.txt +++ b/modules/adas/tools/fcw_detect/CMakeLists.txt @@ -13,7 +13,7 @@ endif() project(${the_target}) ocv_include_directories("${OpenCV_SOURCE_DIR}/include/opencv") -ocv_include_modules(${OPENCV_${the_target}_DEPS}) +ocv_include_modules_recurse(${OPENCV_${the_target}_DEPS}) file(GLOB ${the_target}_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) diff --git a/modules/adas/tools/fcw_train/CMakeLists.txt b/modules/adas/tools/fcw_train/CMakeLists.txt index f1cbecf7b..5b1d78303 100644 --- a/modules/adas/tools/fcw_train/CMakeLists.txt +++ b/modules/adas/tools/fcw_train/CMakeLists.txt @@ -13,7 +13,7 @@ endif() project(${the_target}) ocv_include_directories("${OpenCV_SOURCE_DIR}/include/opencv") -ocv_include_modules(${OPENCV_${the_target}_DEPS}) +ocv_include_modules_recurse(${OPENCV_${the_target}_DEPS}) file(GLOB ${the_target}_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)