Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-09-24 11:03:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-24 11:03:18 +0400
commitb94ed5d7e469c6c3ea421919138da8c04a3f01e3 (patch)
treef431fba46204e332d5627c65ab8c25e5cbe9ce33 /source/blender/blenfont/CMakeLists.txt
parent20998fdcfa6e7dd74adc0f38af6135fdddbefdc0 (diff)
- cmake/make/scons didnt define INTERNATIONAL when buidling blenfont
- BLF_lang_init used confusing IFDEF's, unlikely this was well tested. Split this into 3 functions for Apple/Win32/Unix, Unix uses BLI_gethome_folder(), cant test others, ideally they should use BLI_gethome_folder too but needs testing. Possibly each os cant be made to use BLI_gethome_folder and the separate func's can be removed (please test). - units, hectometers were displayed wrong.
Diffstat (limited to 'source/blender/blenfont/CMakeLists.txt')
-rw-r--r--source/blender/blenfont/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt
index 844a6899bf5..9b7e950526d 100644
--- a/source/blender/blenfont/CMakeLists.txt
+++ b/source/blender/blenfont/CMakeLists.txt
@@ -32,6 +32,7 @@ SET(INC
IF(WITH_INTERNATIONAL)
SET(INC ${INC} ${GETTEXT_INC})
+ ADD_DEFINITIONS(-DINTERNATIONAL)
ENDIF(WITH_INTERNATIONAL)
IF(WIN32)