mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Merge branch 'csharp-version-english' into release-3.10
Merge-request: !1449
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user