diff options
author | Brad King <brad.king@kitware.com> | 2020-01-17 14:37:47 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-17 14:37:57 (GMT) |
commit | f80437ad34a34d3ba7c843dcb05fb42f603e2f7b (patch) | |
tree | 6c9c033b277894755a6150a4a5978e13882a4f90 /Modules | |
parent | 7dad7ea4ace8313d40cb23ad6c077216ea7282f0 (diff) | |
parent | 2e882b4275eea16eff0debc10fe6431bc50acd9e (diff) | |
download | CMake-f80437ad34a34d3ba7c843dcb05fb42f603e2f7b.zip CMake-f80437ad34a34d3ba7c843dcb05fb42f603e2f7b.tar.gz CMake-f80437ad34a34d3ba7c843dcb05fb42f603e2f7b.tar.bz2 |
Merge topic 'csharp-default-langversion'
2e882b4275 CSharp: Set C# compiler to default version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4232
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeCSharpInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCSharpInformation.cmake b/Modules/CMakeCSharpInformation.cmake index 48e1a1e..41cd449 100644 --- a/Modules/CMakeCSharpInformation.cmake +++ b/Modules/CMakeCSharpInformation.cmake @@ -10,7 +10,7 @@ get_filename_component(CMAKE_BASE_NAME "${CMAKE_CSharp_COMPILER}" NAME_WE) set(CMAKE_BUILD_TYPE_INIT Debug) -set(CMAKE_CSharp_FLAGS_INIT "/define:TRACE /langversion:3") +set(CMAKE_CSharp_FLAGS_INIT "/define:TRACE") set(CMAKE_CSharp_FLAGS_DEBUG_INIT "/debug:full /optimize- /warn:3 /errorreport:prompt /define:DEBUG") set(CMAKE_CSharp_FLAGS_RELEASE_INIT "/debug:none /optimize /warn:1 /errorreport:queue") set(CMAKE_CSharp_FLAGS_RELWITHDEBINFO_INIT "/debug:full /optimize-") |