File tree Expand file tree Collapse file tree 6 files changed +852
-827
lines changed Expand file tree Collapse file tree 6 files changed +852
-827
lines changed Original file line number Diff line number Diff line change @@ -1047,6 +1047,8 @@ function(ocv_add_perf_tests)
1047
1047
set (OPENCV_PERF_${the_module}_SOURCES ${perf_srcs} ${perf_hdrs} )
1048
1048
endif ()
1049
1049
1050
+ ocv_compiler_optimization_process_sources (OPENCV_PERF_${the_module}_SOURCES OPENCV_PERF_${the_module}_DEPS ${the_target} )
1051
+
1050
1052
if (NOT BUILD_opencv_world )
1051
1053
get_native_precompiled_header (${the_target} perf_precomp.hpp )
1052
1054
endif ()
@@ -1124,6 +1126,8 @@ function(ocv_add_accuracy_tests)
1124
1126
set (OPENCV_TEST_${the_module}_SOURCES ${test_srcs} ${test_hdrs} )
1125
1127
endif ()
1126
1128
1129
+ ocv_compiler_optimization_process_sources (OPENCV_TEST_${the_module}_SOURCES OPENCV_TEST_${the_module}_DEPS ${the_target} )
1130
+
1127
1131
if (NOT BUILD_opencv_world )
1128
1132
get_native_precompiled_header (${the_target} test_precomp.hpp )
1129
1133
endif ()
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ macro(ocv_warnings_disable)
387
387
endif (NOT ENABLE_NOISY_WARNINGS )
388
388
endmacro ()
389
389
390
- macro (ocv_append_sourge_file_compile_definitions source )
390
+ macro (ocv_append_source_file_compile_definitions source )
391
391
get_source_file_property (_value "${source} " COMPILE_DEFINITIONS )
392
392
if (_value )
393
393
set (_value ${_value} ${ARGN} )
Original file line number Diff line number Diff line change @@ -38,20 +38,20 @@ ocv_glob_module_sources(SOURCES "${OPENCV_MODULE_opencv_core_BINARY_DIR}/version
38
38
39
39
ocv_module_include_directories (${the_module} ${ZLIB_INCLUDE_DIRS} ${OPENCL_INCLUDE_DIRS} )
40
40
if (ANDROID AND HAVE_CPUFEATURES )
41
- ocv_append_sourge_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/system.cpp "HAVE_CPUFEATURES=1" )
41
+ ocv_append_source_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/system.cpp "HAVE_CPUFEATURES=1" )
42
42
ocv_module_include_directories (${CPUFEATURES_INCLUDE_DIRS} )
43
43
endif ()
44
44
if (ITT_INCLUDE_DIRS )
45
45
ocv_module_include_directories (${ITT_INCLUDE_DIRS} )
46
46
endif ()
47
47
if (HAVE_POSIX_MEMALIGN )
48
- ocv_append_sourge_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_POSIX_MEMALIGN=1" )
48
+ ocv_append_source_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_POSIX_MEMALIGN=1" )
49
49
endif ()
50
50
if (HAVE_MALLOC_H )
51
- ocv_append_sourge_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_MALLOC_H=1" )
51
+ ocv_append_source_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_MALLOC_H=1" )
52
52
endif ()
53
53
if (HAVE_MEMALIGN )
54
- ocv_append_sourge_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_MEMALIGN=1" )
54
+ ocv_append_source_file_compile_definitions (${CMAKE_CURRENT_SOURCE_DIR} /src/alloc.cpp "HAVE_MEMALIGN=1" )
55
55
endif ()
56
56
57
57
ocv_create_module (${extra_libs} )
You can’t perform that action at this time.
0 commit comments