summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-11-29 22:10:29 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-11-29 22:10:29 (GMT)
commit2915f24274abbea64b7f9806d787912a125f97d8 (patch)
tree6c2d50fccb9b85bf92e408f328e3314d8b574021 /Source/cmTarget.cxx
parentf211823b5579be5aaf8f62dae870ad370326158f (diff)
downloadCMake-2915f24274abbea64b7f9806d787912a125f97d8.zip
CMake-2915f24274abbea64b7f9806d787912a125f97d8.tar.gz
CMake-2915f24274abbea64b7f9806d787912a125f97d8.tar.bz2
COMP: fix compile issue on Sun hopefully
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e79b93d..3ee22f3 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -464,7 +464,7 @@ void cmTarget::AddLinkLibrary(const std::string& lib,
LinkLibraryType llt)
{
this->AddFramework(lib.c_str(), llt);
- std::pair<std::string, cmTarget::LinkLibraryType> tmp;
+ cmTarget::LibraryID tmp;
tmp.first = lib;
tmp.second = llt;
this->LinkLibraries.push_back(tmp);
@@ -499,7 +499,7 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
return;
}
this->AddFramework(lib, llt);
- std::pair<std::string, cmTarget::LinkLibraryType> tmp;
+ cmTarget::LibraryID tmp;
tmp.first = lib;
tmp.second = llt;
this->LinkLibraries.push_back( tmp );