mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
cmake: remove -E compare_files error message if files differ
It is not an error for the files to be different. Fixes: #20803
This commit is contained in:
@@ -586,8 +586,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
|
||||
}
|
||||
|
||||
if (filesDiffer) {
|
||||
std::cerr << "Files \"" << args[args.size() - 2] << "\" to \""
|
||||
<< args[args.size() - 1] << "\" are different.\n";
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
^Files ".*/compare_files/lf" to ".*/compare_files/crlf" are different.$
|
||||
@@ -1 +0,0 @@
|
||||
^Files "nonexistent_a" to "nonexistent_b" are different.$
|
||||
Reference in New Issue
Block a user