Skip to content

Commit 67f79aa

Browse files
committed
Merge pull request opencv#12119 from mshabunin:fix-IE-dnn-test
2 parents 17196bb + 5aceee5 commit 67f79aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/OpenCVModule.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ function(ocv_add_perf_tests)
11321132
source_group("Src" FILES "${${the_target}_pch}")
11331133
ocv_add_executable(${the_target} ${OPENCV_PERF_${the_module}_SOURCES} ${${the_target}_pch})
11341134
ocv_target_include_modules(${the_target} ${perf_deps} "${perf_path}")
1135-
ocv_target_link_libraries(${the_target} LINK_PRIVATE ${perf_deps} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS})
1135+
ocv_target_link_libraries(${the_target} LINK_PRIVATE ${perf_deps} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS} ${OPENCV_PERF_${the_module}_DEPS})
11361136
add_dependencies(opencv_perf_tests ${the_target})
11371137

11381138
set_target_properties(${the_target} PROPERTIES LABELS "${OPENCV_MODULE_${the_module}_LABEL};PerfTest")
@@ -1175,7 +1175,7 @@ function(ocv_add_perf_tests)
11751175
endfunction()
11761176

11771177
# this is a command for adding OpenCV accuracy/regression tests to the module
1178-
# ocv_add_accuracy_tests([FILES <source group name> <list of sources>] [DEPENDS_ON] <list of extra dependencies>)
1178+
# ocv_add_accuracy_tests(<list of extra dependencies>)
11791179
function(ocv_add_accuracy_tests)
11801180
ocv_debug_message("ocv_add_accuracy_tests(" ${ARGN} ")")
11811181

@@ -1211,7 +1211,7 @@ function(ocv_add_accuracy_tests)
12111211
source_group("Src" FILES "${${the_target}_pch}")
12121212
ocv_add_executable(${the_target} ${OPENCV_TEST_${the_module}_SOURCES} ${${the_target}_pch})
12131213
ocv_target_include_modules(${the_target} ${test_deps} "${test_path}")
1214-
ocv_target_link_libraries(${the_target} LINK_PRIVATE ${test_deps} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS})
1214+
ocv_target_link_libraries(${the_target} LINK_PRIVATE ${test_deps} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS} ${OPENCV_TEST_${the_module}_DEPS})
12151215
add_dependencies(opencv_tests ${the_target})
12161216

12171217
set_target_properties(${the_target} PROPERTIES LABELS "${OPENCV_MODULE_${the_module}_LABEL};AccuracyTest")

0 commit comments

Comments
 (0)