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

pull/12042/head
Dmitry Kurtaev 7 years ago
parent 7d40fcead5
commit 0c4d5ffecd
  1. 2
      cmake/OpenCVCompilerOptimizations.cmake

@ -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…
Cancel
Save