Commit 7474ad81 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #10845 from alalek:cpu_dispatch_fix_file_generation

parents 17233c68 14032c66
...@@ -760,6 +760,8 @@ macro(ocv_add_dispatched_file filename) ...@@ -760,6 +760,8 @@ macro(ocv_add_dispatched_file filename)
set(__file "${CMAKE_CURRENT_BINARY_DIR}/${filename}.${OPT_LOWER}.cpp") set(__file "${CMAKE_CURRENT_BINARY_DIR}/${filename}.${OPT_LOWER}.cpp")
if(EXISTS "${__file}") if(EXISTS "${__file}")
file(READ "${__file}" __content) file(READ "${__file}" __content)
else()
set(__content "")
endif() endif()
if(__content STREQUAL __codestr) if(__content STREQUAL __codestr)
#message(STATUS "${__file} contains up-to-date content") #message(STATUS "${__file} contains up-to-date content")
......
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