Skip to content

Commit c6ea6d1

Browse files
committed
Fix build of tools with hal module
1 parent b42fba0 commit c6ea6d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/adas/tools/fcw_detect/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endif()
1313
project(${the_target})
1414

1515
ocv_include_directories("${OpenCV_SOURCE_DIR}/include/opencv")
16-
ocv_include_modules(${OPENCV_${the_target}_DEPS})
16+
ocv_include_modules_recurse(${OPENCV_${the_target}_DEPS})
1717

1818
file(GLOB ${the_target}_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
1919

modules/adas/tools/fcw_train/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endif()
1313
project(${the_target})
1414

1515
ocv_include_directories("${OpenCV_SOURCE_DIR}/include/opencv")
16-
ocv_include_modules(${OPENCV_${the_target}_DEPS})
16+
ocv_include_modules_recurse(${OPENCV_${the_target}_DEPS})
1717

1818
file(GLOB ${the_target}_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
1919

0 commit comments

Comments
 (0)