diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index d230add23..411dd257b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -894,7 +894,7 @@ void cmMakefile::RemoveDefineFlag(const char* flag) void cmMakefile::AddLinkLibrary(const char* lib, cmTarget::LinkLibraryType llt) { - std::pair tmp; + cmTarget::LibraryID tmp; tmp.first = lib; tmp.second = llt; this->LinkLibraries.push_back(tmp); diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index e79b93d33..3ee22f3ac 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 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 tmp; + cmTarget::LibraryID tmp; tmp.first = lib; tmp.second = llt; this->LinkLibraries.push_back( tmp );