From b8d6a21e48d2b331e86f68931a83d56133694204 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 15 Jul 2021 12:45:26 -0400 Subject: VS: Recognize CSharp VS 2019 compiler version v142 --- Modules/CMakeCSharpCompilerId.cs.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/CMakeCSharpCompilerId.cs.in b/Modules/CMakeCSharpCompilerId.cs.in index 987f63a..5afe08f 100644 --- a/Modules/CMakeCSharpCompilerId.cs.in +++ b/Modules/CMakeCSharpCompilerId.cs.in @@ -15,6 +15,8 @@ namespace CSharp + "Visual Studio" #elif PlatformToolsetv141 + "Visual Studio" +#elif PlatformToolsetv142 + + "Visual Studio" #else + "unknown" #endif @@ -45,6 +47,8 @@ namespace CSharp + "2015" #elif PlatformToolsetv141 + "2017" +#elif PlatformToolsetv142 + + "2019" #else + "9999" #endif -- cgit v0.12