diff options
author | Brad King <brad.king@kitware.com> | 2018-11-01 11:36:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-11-01 11:36:39 (GMT) |
commit | d955b4f753d450ec10a2f928fcca1a91a50816ce (patch) | |
tree | 518196d26a2930e7fb89531f8ca235f26c7bade3 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 75b85133d8cccb5d2680b0817d8720c6860238b0 (diff) | |
parent | 9040df31e2da7db351d76dcc72568d44d0223f92 (diff) | |
download | CMake-d955b4f753d450ec10a2f928fcca1a91a50816ce.zip CMake-d955b4f753d450ec10a2f928fcca1a91a50816ce.tar.gz CMake-d955b4f753d450ec10a2f928fcca1a91a50816ce.tar.bz2 |
Merge topic 'fix-custom-target-with-csharp'
9040df31e2 Merge branch 'backport-fix-custom-target-with-csharp'
1acd1c2b50 CSharp: Fix regression in VS project type selection for custom target
a56edad6d6 CSharp: Fix regression in VS project type selection for custom target
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2549
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index a216346..3be09b0 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -98,7 +98,7 @@ void cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout, ext = ".vfproj"; project = "Project(\"{6989167D-11E4-40FE-8C1A-2192A86A7E90}\") = \""; } - if (t->HasLanguage("CSharp", "")) { + if (t->IsCSharpOnly()) { ext = ".csproj"; project = "Project(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \""; } |