From 788b47b788be99dcf983078068e10709f9f93254 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sat, 17 Mar 2012 12:07:58 +0000 Subject: Fix for yesterday i18n own commit (r44924): we now need to define WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!). Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ). --- source/blender/blenkernel/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/SConscript') diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript index d949f0c73db..684c3d8683b 100644 --- a/source/blender/blenkernel/SConscript +++ b/source/blender/blenkernel/SConscript @@ -108,6 +108,9 @@ if env['WITH_BF_FFTW3']: defs.append('FFTW3=1') incs += ' ' + env['BF_FFTW3_INC'] +if env['WITH_BF_INTERNATIONAL']: + defs.append('WITH_INTERNATIONAL') + if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): incs += ' ' + env['BF_PTHREADS_INC'] -- cgit v1.2.3