Commit d302f24f authored by Emmanuel Christophe's avatar Emmanuel Christophe

COMP: force OTB_LANG option to non empty

parent ddc3c3f2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment