From a4eacfa867abb74720391ec6ac5dc4612de3a4fa Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 25 Oct 2012 20:12:11 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20for=20r51634,=20without=20this=20define,?= =?UTF-8?q?=20translation=20won=E2=80=99t=20happen=20(all=20i18n=20macro?= =?UTF-8?q?=20would=20be=20no-op=20for=20this=20editor!).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/blender/editors/space_logic/CMakeLists.txt | 4 ++++ source/blender/editors/space_logic/SConscript | 3 +++ 2 files changed, 7 insertions(+) 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] )