diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-26 00:12:11 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-26 00:12:11 +0400 |
commit | a4eacfa867abb74720391ec6ac5dc4612de3a4fa (patch) | |
tree | 19e9973d9a18789a7d3f94f508816808e035cc94 /source/blender | |
parent | 821cc6769e4fbe337dc67f42291da6e0c4fa1303 (diff) |
Fix for r51634, without this define, translation won’t happen (all i18n macro would be no-op for this editor!).
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_logic/CMakeLists.txt | 4 | ||||
-rw-r--r-- | source/blender/editors/space_logic/SConscript | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_logic/CMakeLists.txt b/source/blender/editors/space_logic/CMakeLists.txt index 8859d1d8bfd..13e6f9484e8 100644 --- a/source/blender/editors/space_logic/CMakeLists.txt +++ b/source/blender/editors/space_logic/CMakeLists.txt @@ -48,4 +48,8 @@ if(WITH_GAMEENGINE) add_definitions(-DWITH_GAMEENGINE) endif() +if(WITH_INTERNATIONAL) + add_definitions(-DWITH_INTERNATIONAL) +endif() + blender_add_lib(bf_editor_space_logic "${SRC}" "${INC}" "${INC_SYS}") diff --git a/source/blender/editors/space_logic/SConscript b/source/blender/editors/space_logic/SConscript index fb2504ab974..e63d88ea5de 100644 --- a/source/blender/editors/space_logic/SConscript +++ b/source/blender/editors/space_logic/SConscript @@ -12,4 +12,7 @@ defs = [] if env['WITH_BF_GAMEENGINE']: defs.append('WITH_GAMEENGINE') +if env['WITH_BF_INTERNATIONAL']: + defs.append('WITH_INTERNATIONAL') + env.BlenderLib ( 'bf_editors_space_game', sources, Split(incs), defs, libtype=['core'], priority=[120] ) |