diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2017-06-20 14:14:45 (GMT) |
---|---|---|
committer | Michael Stürmer <michael.stuermer@schaeffler.com> | 2017-06-21 06:37:15 (GMT) |
commit | 51865fc67ecd61d9cbf984be0310f2e9fb8ff455 (patch) | |
tree | 8074f627dbc519557e2fe164a74d90fc5afcc464 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | b7799f07d1bcf2708976b41aa07047c04e5ee3d0 (diff) | |
download | CMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.zip CMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.tar.gz CMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.tar.bz2 |
Vs: allow CSharp targets to be linked to CXX targets
Fixes: #16755
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 238c9e8..f8534df 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -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(); |