mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Extending CPU dispatch to the tests; fixing a typo
This commit is contained in:
@@ -1047,6 +1047,8 @@ function(ocv_add_perf_tests)
|
||||
set(OPENCV_PERF_${the_module}_SOURCES ${perf_srcs} ${perf_hdrs})
|
||||
endif()
|
||||
|
||||
ocv_compiler_optimization_process_sources(OPENCV_PERF_${the_module}_SOURCES OPENCV_PERF_${the_module}_DEPS ${the_target})
|
||||
|
||||
if(NOT BUILD_opencv_world)
|
||||
get_native_precompiled_header(${the_target} perf_precomp.hpp)
|
||||
endif()
|
||||
@@ -1124,6 +1126,8 @@ function(ocv_add_accuracy_tests)
|
||||
set(OPENCV_TEST_${the_module}_SOURCES ${test_srcs} ${test_hdrs})
|
||||
endif()
|
||||
|
||||
ocv_compiler_optimization_process_sources(OPENCV_TEST_${the_module}_SOURCES OPENCV_TEST_${the_module}_DEPS ${the_target})
|
||||
|
||||
if(NOT BUILD_opencv_world)
|
||||
get_native_precompiled_header(${the_target} test_precomp.hpp)
|
||||
endif()
|
||||
|
||||
@@ -387,7 +387,7 @@ macro(ocv_warnings_disable)
|
||||
endif(NOT ENABLE_NOISY_WARNINGS)
|
||||
endmacro()
|
||||
|
||||
macro(ocv_append_sourge_file_compile_definitions source)
|
||||
macro(ocv_append_source_file_compile_definitions source)
|
||||
get_source_file_property(_value "${source}" COMPILE_DEFINITIONS)
|
||||
if(_value)
|
||||
set(_value ${_value} ${ARGN})
|
||||
|
||||
Reference in New Issue
Block a user