Commit 0c4d5ffe authored by Dmitry Kurtaev's avatar Dmitry Kurtaev

Do not copy cv_cpu_helper.h to parent if OpenCV is a submodule

parent 7d40fcea
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment