summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
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 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";
}
}
}