Skip to content
Snippets Groups Projects
Commit e259ea43 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'runcmake-make-english'


3d2ab71d Tests: Set LC_MESSAGES for RunCMake.Make

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5114
parents 0953c005 3d2ab71d
No related branches found
No related tags found
Loading
......@@ -27,12 +27,15 @@ function(run_VerboseBuild)
run_cmake_command(VerboseBuild-build ${CMAKE_COMMAND} --build . -v --clean-first)
unset(RunCMake-stdout-file)
set(_backup_lang "$ENV{LANG}")
set(_backup_lc_Messages "$ENV{LC_MESSAGES}")
if(MAKE_IS_GNU)
set(RunCMake-stdout-file VerboseBuild-nowork-gnu-stdout.txt)
set(ENV{LANG} "C")
set(ENV{LC_MESSAGES} "C")
endif()
run_cmake_command(VerboseBuild-nowork ${CMAKE_COMMAND} --build . --verbose)
set(ENV{LANG} "${_backup_lang}")
set(ENV{LC_MESSAGES} "${_backup_lc_messages}")
endfunction()
run_VerboseBuild()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment