COMP: fix compile issue on Sun hopefully
This commit is contained in:
parent
f211823b55
commit
2915f24274
|
@ -894,7 +894,7 @@ void cmMakefile::RemoveDefineFlag(const char* flag)
|
||||||
void cmMakefile::AddLinkLibrary(const char* lib,
|
void cmMakefile::AddLinkLibrary(const char* lib,
|
||||||
cmTarget::LinkLibraryType llt)
|
cmTarget::LinkLibraryType llt)
|
||||||
{
|
{
|
||||||
std::pair<std::string, cmTarget::LinkLibraryType> tmp;
|
cmTarget::LibraryID tmp;
|
||||||
tmp.first = lib;
|
tmp.first = lib;
|
||||||
tmp.second = llt;
|
tmp.second = llt;
|
||||||
this->LinkLibraries.push_back(tmp);
|
this->LinkLibraries.push_back(tmp);
|
||||||
|
|
|
@ -464,7 +464,7 @@ void cmTarget::AddLinkLibrary(const std::string& lib,
|
||||||
LinkLibraryType llt)
|
LinkLibraryType llt)
|
||||||
{
|
{
|
||||||
this->AddFramework(lib.c_str(), llt);
|
this->AddFramework(lib.c_str(), llt);
|
||||||
std::pair<std::string, cmTarget::LinkLibraryType> tmp;
|
cmTarget::LibraryID tmp;
|
||||||
tmp.first = lib;
|
tmp.first = lib;
|
||||||
tmp.second = llt;
|
tmp.second = llt;
|
||||||
this->LinkLibraries.push_back(tmp);
|
this->LinkLibraries.push_back(tmp);
|
||||||
|
@ -499,7 +499,7 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this->AddFramework(lib, llt);
|
this->AddFramework(lib, llt);
|
||||||
std::pair<std::string, cmTarget::LinkLibraryType> tmp;
|
cmTarget::LibraryID tmp;
|
||||||
tmp.first = lib;
|
tmp.first = lib;
|
||||||
tmp.second = llt;
|
tmp.second = llt;
|
||||||
this->LinkLibraries.push_back( tmp );
|
this->LinkLibraries.push_back( tmp );
|
||||||
|
|
Loading…
Reference in New Issue