mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it
This commit is contained in:
@@ -108,7 +108,9 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
|
||||
}
|
||||
if ( !this->Makefile->CanIWriteThisFile(fileName.c_str()) )
|
||||
{
|
||||
std::string e = "attempted to write a file: " + fileName + " into a source directory.";
|
||||
std::string e
|
||||
= "attempted to write a file: " + fileName +
|
||||
" into a source directory.";
|
||||
this->SetError(e.c_str());
|
||||
cmSystemTools::SetFatalErrorOccured();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user