mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #10845 from alalek:cpu_dispatch_fix_file_generation
This commit is contained in:
commit
7474ad81d9
@ -760,6 +760,8 @@ macro(ocv_add_dispatched_file filename)
|
||||
set(__file "${CMAKE_CURRENT_BINARY_DIR}/${filename}.${OPT_LOWER}.cpp")
|
||||
if(EXISTS "${__file}")
|
||||
file(READ "${__file}" __content)
|
||||
else()
|
||||
set(__content "")
|
||||
endif()
|
||||
if(__content STREQUAL __codestr)
|
||||
#message(STATUS "${__file} contains up-to-date content")
|
||||
|
Loading…
Reference in New Issue
Block a user