summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-22 13:58:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-22 13:58:28 (GMT)
commit9f3bf3cb9d014c3acce0709af7cce82554bc7a89 (patch)
tree2dda6674f6d70d62b64056623bc664c7f2ae94a0 /Source/cmVisualStudio10TargetGenerator.cxx
parent1218731a2a1f018f562808d7cd5ea857403dbad3 (diff)
parent51865fc67ecd61d9cbf984be0310f2e9fb8ff455 (diff)
downloadCMake-9f3bf3cb9d014c3acce0709af7cce82554bc7a89.zip
CMake-9f3bf3cb9d014c3acce0709af7cce82554bc7a89.tar.gz
CMake-9f3bf3cb9d014c3acce0709af7cce82554bc7a89.tar.bz2
Merge topic 'vs_csharp_link_to_managed_cxx'
51865fc6 Vs: allow CSharp targets to be linked to CXX targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !993
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index d689dcf..d3884d8 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -3495,10 +3495,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();