|
|
@ -645,7 +645,7 @@ function(ocv_add_perf_tests) |
|
|
|
set(OPENCV_PERF_${the_module}_SOURCES ${perf_srcs} ${perf_hdrs}) |
|
|
|
set(OPENCV_PERF_${the_module}_SOURCES ${perf_srcs} ${perf_hdrs}) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
get_native_precompiled_header(${the_target} test_precomp.hpp) |
|
|
|
get_native_precompiled_header(${the_target} perf_precomp.hpp) |
|
|
|
|
|
|
|
|
|
|
|
add_executable(${the_target} ${OPENCV_PERF_${the_module}_SOURCES} ${${the_target}_pch}) |
|
|
|
add_executable(${the_target} ${OPENCV_PERF_${the_module}_SOURCES} ${${the_target}_pch}) |
|
|
|
target_link_libraries(${the_target} ${OPENCV_MODULE_${the_module}_DEPS} ${perf_deps} ${OPENCV_LINKER_LIBS}) |
|
|
|
target_link_libraries(${the_target} ${OPENCV_MODULE_${the_module}_DEPS} ${perf_deps} ${OPENCV_LINKER_LIBS}) |
|
|
|