Commit ec5114f9 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'predictable-add_custom_command-output'

92d76b50 Make the add_custom_command output more predictable
parents 995d6be1 92d76b50
......@@ -263,8 +263,8 @@ bool cmAddCustomCommandCommand::InitialPass(
// No command for this output exists.
std::ostringstream e;
e << "given APPEND option with output \"" << output[0]
<< "\" which is not already a custom command output.";
e << "given APPEND option with output\n\"" << output[0]
<< "\"\nwhich is not already a custom command output.";
this->SetError(e.str());
return false;
}
......
CMake Error at AppendNotOutput.cmake:1 \(add_custom_command\):
add_custom_command given APPEND option with output.*
add_custom_command given APPEND option with output
.*RunCMake/add_custom_command/AppendNotOutput-build/out.*
which is not already a custom command output.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
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