From d302f24fd9bbf433e189e0c88d676541fffd24c8 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Thu, 25 Mar 2010 10:15:02 +0800
Subject: [PATCH] COMP: force OTB_LANG option to non empty

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97be0613dd..fb59b1e00f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -632,7 +632,7 @@ IF(GETTEXT_FOUND)
               "Gettext found, configuring internationalization")
       SET(OTB_LANG $ENV{LANG} CACHE STRING "OTB internationalization (Experimental)")#might want to get the Locale from the system here
       IF(NOT OTB_LANG)
-        SET(OTB_LANG "en_EN.UTF-8" CACHE STRING "OTB internationalization (Experimental)")
+        SET(OTB_LANG "en_EN.UTF-8" CACHE STRING "OTB internationalization (Experimental)" FORCE)
       ENDIF(NOT OTB_LANG)
       SET(OTB_LANG_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/I18n)
       ADD_SUBDIRECTORY(I18n)
-- 
GitLab