mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05:00
cmLinkItem: Remove redundant cmLinkImplItem class
The cmLinkImplItem class used to contain some additional members to support the CMP0027 policy. Since the CMP0027 policy and those associated members were removed, the cmLinkImplItem class has been a plain wrapper around cmLinkItem with no additional members. It is no longer needed and cmLinkItem can be used directly wherever cmLinkImplItem was used previously.
This commit is contained in:
@@ -159,7 +159,7 @@ void cmLinkLineDeviceComputer::ComputeLinkLibraries(
|
||||
cli.GetTarget()->GetLinkImplementation(cli.GetConfig(),
|
||||
cmGeneratorTarget::UseTo::Link);
|
||||
|
||||
for (cmLinkImplItem const& iter : linkImpl->Libraries) {
|
||||
for (cmLinkItem const& iter : linkImpl->Libraries) {
|
||||
if (iter.Target &&
|
||||
iter.Target->GetType() != cmStateEnums::INTERFACE_LIBRARY) {
|
||||
std::string libPath = iter.Target->GetLocation(cli.GetConfig());
|
||||
|
||||
Reference in New Issue
Block a user