Vs: allow CSharp targets to be linked to CXX targets

Fixes: #16755
This commit is contained in:
Michael Stürmer
2017-06-20 16:14:45 +02:00
parent b7799f07d1
commit 51865fc67e
6 changed files with 54 additions and 4 deletions

View File

@@ -3475,10 +3475,6 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences()
->TargetIsFortranOnly(dt)) {
continue;
}
if (csproj == this->ProjectType &&
!this->GlobalGenerator->TargetIsCSharpOnly(dt)) {
continue;
}
this->WriteString("<ProjectReference Include=\"", 2);
cmLocalGenerator* lg = dt->GetLocalGenerator();
std::string name = dt->GetName();