Do not copy cv_cpu_helper.h to parent if OpenCV is a submodule
This commit is contained in:
parent
7d40fcead5
commit
0c4d5ffecd
@ -740,7 +740,7 @@ macro(ocv_compiler_optimization_fill_cpu_config)
|
||||
")
|
||||
|
||||
|
||||
set(__file "${CMAKE_SOURCE_DIR}/modules/core/include/opencv2/core/cv_cpu_helper.h")
|
||||
set(__file "${OpenCV_SOURCE_DIR}/modules/core/include/opencv2/core/cv_cpu_helper.h")
|
||||
if(EXISTS "${__file}")
|
||||
file(READ "${__file}" __content)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user