diff options
author | Brad King <brad.king@kitware.com> | 2020-11-23 20:25:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-11-23 20:57:05 (GMT) |
commit | 54ef732b0c409b3ed9376bf6cdb40d1038209ecb (patch) | |
tree | 9a506b574c22b32e997c73f437dedb6296509fc6 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | f06f4b517cad32ec619774ce8a3a529c3ae32ebd (diff) | |
download | CMake-54ef732b0c409b3ed9376bf6cdb40d1038209ecb.zip CMake-54ef732b0c409b3ed9376bf6cdb40d1038209ecb.tar.gz CMake-54ef732b0c409b3ed9376bf6cdb40d1038209ecb.tar.bz2 |
cmVisualStudio10TargetGenerator: Avoid GetFullPath on INTERFACE library
Issue: #21470
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index a482ed6..4eb3b7f 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -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); |