summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-02 21:05:05 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-02 21:05:05 +0000
commitefcd7636dc487ceb6c5925794990468e5528631a (patch)
tree189dd17073569d94c09375e1e7a8cad639fdd3c9
parentc6f4b951317ad3c78844359742de66ce63210ef0 (diff)
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
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)