|
|
@@ -3574,10 +3574,7 @@ cmTarget::GetLinkImplementation(const std::string& config) const
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- // Populate the link implementation for this configuration.
|
|
|
- std::string CONFIG = cmSystemTools::UpperCase(config);
|
|
|
- cmOptionalLinkImplementation&
|
|
|
- impl = this->Internal->LinkImplMap[CONFIG][this];
|
|
|
+ cmOptionalLinkImplementation& impl = this->GetLinkImplMap(config);
|
|
|
if(!impl.LibrariesDone)
|
|
|
{
|
|
|
impl.LibrariesDone = true;
|
|
|
@@ -3591,6 +3588,14 @@ cmTarget::GetLinkImplementation(const std::string& config) const
|
|
|
return &impl;
|
|
|
}
|
|
|
|
|
|
+cmOptionalLinkImplementation&
|
|
|
+cmTarget::GetLinkImplMap(std::string const& config) const
|
|
|
+{
|
|
|
+ // Populate the link implementation for this configuration.
|
|
|
+ std::string CONFIG = cmSystemTools::UpperCase(config);
|
|
|
+ return Internal->LinkImplMap[CONFIG][this];
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
cmLinkImplementationLibraries const*
|
|
|
cmTarget::GetLinkImplementationLibraries(const std::string& config) const
|