COMP: fix compile issue on Sun hopefully

This commit is contained in:
Ken Martin 2006-11-29 17:10:29 -05:00
parent f211823b55
commit 2915f24274
2 changed files with 3 additions and 3 deletions

View File

@ -894,7 +894,7 @@ void cmMakefile::RemoveDefineFlag(const char* flag)
void cmMakefile::AddLinkLibrary(const char* lib,
cmTarget::LinkLibraryType llt)
{
std::pair<std::string, cmTarget::LinkLibraryType> tmp;
cmTarget::LibraryID tmp;
tmp.first = lib;
tmp.second = llt;
this->LinkLibraries.push_back(tmp);

View File

@ -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 );