diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-09 19:57:30 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-09 19:57:30 (GMT) |
commit | 7b917000aa6ac9e1b999cace4fad33fe5267feca (patch) | |
tree | 04f220933c28343ec97e74247e012a5b6079b392 /Source/cmExportCommand.cxx | |
parent | 330062c0cee22355d1cd324242a2dba49c2ab4d0 (diff) | |
download | CMake-7b917000aa6ac9e1b999cace4fad33fe5267feca.zip CMake-7b917000aa6ac9e1b999cace4fad33fe5267feca.tar.gz CMake-7b917000aa6ac9e1b999cace4fad33fe5267feca.tar.bz2 |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx index 5d98547..a00dcf0 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"; } } } |