summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-11-29 20:45:49 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-11-29 20:45:49 (GMT)
commitd6219588c049c8d7ca1b328d918e410e9385f0c8 (patch)
tree2265c937fa2497e1c7aee4fbd942da0bf8108850 /Source/cmMakefile.cxx
parent965a1475b64d7db1466f8312db8938b158b0cfe3 (diff)
downloadCMake-d6219588c049c8d7ca1b328d918e410e9385f0c8.zip
CMake-d6219588c049c8d7ca1b328d918e410e9385f0c8.tar.gz
CMake-d6219588c049c8d7ca1b328d918e410e9385f0c8.tar.bz2
COMP: fix compile issue on Sun
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 3bb4c6c..78cc848 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -911,8 +911,10 @@ void cmMakefile::RemoveDefineFlag(const char* flag)
void cmMakefile::AddLinkLibrary(const char* lib,
cmTarget::LinkLibraryType llt)
{
- this->LinkLibraries.push_back(
- std::pair<std::string, cmTarget::LinkLibraryType>(lib,llt));
+ std::pair<std::string, cmTarget::LinkLibraryType> tmp;
+ tmp.first = lib;
+ tmp.second = llt;
+ this->LinkLibraries.push_back(tmp);
}
void cmMakefile::AddLinkLibraryForTarget(const char *target,