summaryrefslogtreecommitdiff
path: root/Source/cmExtraCodeLiteGenerator.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-22 21:57:16 +0200
committerRolf Eike Beer <eike@sf-mail.de>2014-04-22 22:21:31 +0200
commit817db64c2c3b27098e0fd45825e29e01d784435a (patch)
treeeb92db4e1b2b8f64af82561e85bf36264f57aef7 /Source/cmExtraCodeLiteGenerator.cxx
parentd3417a270f9556caa87851dd8a27ab007a6162b1 (diff)
downloadcmake-817db64c2c3b27098e0fd45825e29e01d784435a.tar.gz
fix compile error on AIX/gcc-2.9 because of unknown std::stringstream
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r--Source/cmExtraCodeLiteGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx
index 946d9d2eee..cc42bcae6b 100644
--- a/Source/cmExtraCodeLiteGenerator.cxx
+++ b/Source/cmExtraCodeLiteGenerator.cxx
@@ -454,7 +454,7 @@ cmExtraCodeLiteGenerator::GetBuildCommand(const cmMakefile* mf) const
else if ( generator == "MinGW Makefiles" ||
generator == "Unix Makefiles" )
{
- std::stringstream ss;
+ cmOStringStream ss;
ss << make << " -j " << this->CpuCount;
buildCommand = ss.str();
}
@@ -482,7 +482,7 @@ cmExtraCodeLiteGenerator::GetSingleFileBuildCommand
std::string generator = mf->GetSafeDefinition("CMAKE_GENERATOR");
if ( generator == "Unix Makefiles" || generator == "MinGW Makefiles" )
{
- std::stringstream ss;
+ cmOStringStream ss;
ss << make << " -f$(ProjectPath)/Makefile $(CurrentFileName).cpp.o";
buildCommand = ss.str();
}