summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-23 21:39:07 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-09-23 21:39:07 (GMT)
commitfd3a39461457540157ea9bee2f9ea7620dfd1c7f (patch)
treeea8fd734da408fbd767969866ab1b3b1fa691a16 /Source
parenta1cc6b4447787b84777fdf9a860e8c39f0f4a090 (diff)
downloadCMake-fd3a39461457540157ea9bee2f9ea7620dfd1c7f.zip
CMake-fd3a39461457540157ea9bee2f9ea7620dfd1c7f.tar.gz
CMake-fd3a39461457540157ea9bee2f9ea7620dfd1c7f.tar.bz2
add_custom_command: Format files in error message in a single line
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx4
-rw-r--r--Source/cmCheckCustomOutputs.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index 9d665c4..94de851 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -320,8 +320,8 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
// No command for this output exists.
status.SetError(
- cmStrCat("given APPEND option with output\n\"", output[0],
- "\"\nwhich is not already a custom command output."));
+ cmStrCat("given APPEND option with output\n ", output[0],
+ "\nwhich is not already a custom command output."));
return false;
}
diff --git a/Source/cmCheckCustomOutputs.cxx b/Source/cmCheckCustomOutputs.cxx
index a401738..7645c88 100644
--- a/Source/cmCheckCustomOutputs.cxx
+++ b/Source/cmCheckCustomOutputs.cxx
@@ -17,8 +17,8 @@ bool cmCheckCustomOutputs(const std::vector<std::string>& outputs,
// directory during an out of source build.
if (!mf.CanIWriteThisFile(o)) {
status.SetError(
- cmStrCat("attempted to have a file\n\"", o,
- "\"\nin a source directory as an output of custom command."));
+ cmStrCat("attempted to have a file\n ", o,
+ "\nin a source directory as an output of custom command."));
cmSystemTools::SetFatalErrorOccured();
return false;
}