mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
cmVisualStudio10TargetGenerator: Avoid GetFullPath on INTERFACE library
Issue: #21470
This commit is contained in:
@@ -3944,7 +3944,8 @@ void cmVisualStudio10TargetGenerator::AddLibraries(
|
||||
if (managedType != cmGeneratorTarget::ManagedType::Native &&
|
||||
this->GeneratorTarget->GetManagedType(config) !=
|
||||
cmGeneratorTarget::ManagedType::Native &&
|
||||
l.Target->IsImported()) {
|
||||
l.Target->IsImported() &&
|
||||
l.Target->GetType() != cmStateEnums::INTERFACE_LIBRARY) {
|
||||
auto location = l.Target->GetFullPath(config);
|
||||
if (!location.empty()) {
|
||||
ConvertToWindowsSlash(location);
|
||||
|
||||
Reference in New Issue
Block a user