summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-07 13:23:36 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-07 13:23:36 (GMT)
commit9a0d3e2ed66b740c3be9b98d4462929aadf40341 (patch)
treeb6e3db76eda3b60f43e9bbbe0e1931c8c6e278ad
parent6f80b10c8371f7dd19db19bde393981e016a9319 (diff)
parent04937db103541da442a426818c9314a423235858 (diff)
downloadCMake-9a0d3e2ed66b740c3be9b98d4462929aadf40341.zip
CMake-9a0d3e2ed66b740c3be9b98d4462929aadf40341.tar.gz
CMake-9a0d3e2ed66b740c3be9b98d4462929aadf40341.tar.bz2
Merge branch 'csharp-version-english' into release-3.10
Merge-request: !1449
-rw-r--r--Modules/CMakeDetermineCSharpCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCSharpCompiler.cmake b/Modules/CMakeDetermineCSharpCompiler.cmake
index 55b2fb3..eb825a5 100644
--- a/Modules/CMakeDetermineCSharpCompiler.cmake
+++ b/Modules/CMakeDetermineCSharpCompiler.cmake
@@ -23,7 +23,7 @@ if(NOT CMAKE_CSharp_COMPILER_ID_RUN)
include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake)
CMAKE_DETERMINE_COMPILER_ID(CSharp CSFLAGS CMakeCSharpCompilerId.cs)
- execute_process(COMMAND "${CMAKE_CSharp_COMPILER}" "/help" OUTPUT_VARIABLE output)
+ execute_process(COMMAND "${CMAKE_CSharp_COMPILER}" "/help /preferreduilang:en-US" OUTPUT_VARIABLE output)
string(REPLACE "\n" ";" output "${output}")
foreach(line ${output})
string(TOUPPER ${line} line)