File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ function(ocv_add_perf_tests)
1145
1145
1146
1146
source_group ("Src" FILES "${${the_target} _pch}" )
1147
1147
ocv_add_executable (${the_target} ${OPENCV_PERF_${the_module}_SOURCES} ${${the_target}_pch} )
1148
- ocv_target_include_modules (${the_target} ${perf_deps} " ${perf_path} " )
1148
+ ocv_target_include_modules (${the_target} ${perf_deps} )
1149
1149
ocv_target_link_libraries (${the_target} LINK_PRIVATE ${perf_deps} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS} ${OPENCV_PERF_${the_module}_DEPS} )
1150
1150
add_dependencies (opencv_perf_tests ${the_target} )
1151
1151
@@ -1227,7 +1227,7 @@ function(ocv_add_accuracy_tests)
1227
1227
1228
1228
source_group ("Src" FILES "${${the_target} _pch}" )
1229
1229
ocv_add_executable (${the_target} ${OPENCV_TEST_${the_module}_SOURCES} ${${the_target}_pch} )
1230
- ocv_target_include_modules (${the_target} ${test_deps} " ${test_path} " )
1230
+ ocv_target_include_modules (${the_target} ${test_deps} )
1231
1231
if (EXISTS "${CMAKE_CURRENT_BINARY_DIR} /test" )
1232
1232
ocv_target_include_directories (${the_target} "${CMAKE_CURRENT_BINARY_DIR} /test" )
1233
1233
endif ()
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input)
261
261
)
262
262
263
263
_PCH_GET_COMPILE_FLAGS (_compile_FLAGS )
264
+ list (APPEND _compile_FLAGS "${_PCH_include_prefix} \" ${_path} \" " )
264
265
265
266
get_target_property (type ${_targetName} TYPE )
266
267
if (type STREQUAL "SHARED_LIBRARY" )
You can’t perform that action at this time.
0 commit comments