mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
cmVisualStudio10TargetGenerator: add handling of static C# targets
This commit is contained in:
@@ -3823,6 +3823,11 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences(Elem& e0)
|
||||
}
|
||||
}
|
||||
}
|
||||
// Workaround for static library C# targets
|
||||
if (referenceNotManaged &&
|
||||
dt->GetType() == cmStateEnums::STATIC_LIBRARY) {
|
||||
referenceNotManaged = !dt->HasLanguage("CSharp", "");
|
||||
}
|
||||
if (referenceNotManaged) {
|
||||
e2.Element("ReferenceOutputAssembly", "false");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user