From efcd7636dc487ceb6c5925794990468e5528631a Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 2 Mar 2009 21:05:05 +0000 Subject: Force locale to C so messages from gcc don't get translated, thanks to DukePyrolator for spotting this. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2140 5417fbe8-f217-4b02-8779-1006273d7864 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a035b9c93..b6c8ec2bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,9 @@ set(CMAKE_MODULE_PATH ${Anope_SOURCE_DIR}) include(Anope) +# Force the locale to C for later uses of things like gcc so the messages come up in English, not the user's default language +set(ENV{LC_ALL} C) + # Start with empty defaults for library and include directories, to be used by GNU compilers only set(DEFAULT_LIBRARY_DIRS) set(DEFAULT_INCLUDE_DIRS) -- cgit