summaryrefslogtreecommitdiff
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-09 15:57:30 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-08-09 15:57:30 -0400
commit7b917000aa6ac9e1b999cace4fad33fe5267feca (patch)
tree04f220933c28343ec97e74247e012a5b6079b392 /Source/cmExportCommand.cxx
parent330062c0cee22355d1cd324242a2dba49c2ab4d0 (diff)
downloadcmake-7b917000aa6ac9e1b999cace4fad33fe5267feca.tar.gz
STYLE: use correct case for cmGlobalUnixMakefileGenerator3
make export() work with spaces in the path Alex
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 5d98547cf3..a00dcf0fc2 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -179,7 +179,7 @@ bool cmExportCommand
fout << "SET_TARGET_PROPERTIES(" << this->Prefix.GetString().c_str()
<< currentTarget->c_str() << " PROPERTIES \n"
- << " LOCATION " << target->GetLocation(0) << "\n";
+ <<" LOCATION \""<< target->GetLocation(0)<<"\"\n";
for(std::vector<std::string>::const_iterator
currentConfig = configurationTypes.begin();
currentConfig != configurationTypes.end();
@@ -191,7 +191,7 @@ bool cmExportCommand
if (loc && *loc)
{
fout << " " << currentConfig->c_str()
- << "_LOCATION " << loc << "\n";
+ << "_LOCATION \'" << loc << "\"\n";
}
}
}