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>2015-05-19 04:34:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-19 04:38:07 +0300
commit183b6437744f69bbeadf503f791f763f3c7c4a6f (patch)
tree8729ff645a7a4a9924552b9ab14836a4bfcaa590 /source/blender/blenfont/SConscript
parent65328fadc3c63c73d5c2e2e977de3dad5bd74219 (diff)
Building without Python works again
Diffstat (limited to 'source/blender/blenfont/SConscript')
-rw-r--r--source/blender/blenfont/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript
index b6cf052a980..61d2ca9b12d 100644
--- a/source/blender/blenfont/SConscript
+++ b/source/blender/blenfont/SConscript
@@ -44,7 +44,6 @@ incs = [
'../imbuf',
'../makesdna',
'../makesrna',
- '../python',
]
incs.extend(Split(env['BF_FREETYPE_INC']))
@@ -57,6 +56,10 @@ if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross':
if env['WITH_BF_INTERNATIONAL']:
defs.append('WITH_INTERNATIONAL')
+if env['WITH_BF_PYTHON']:
+ defs.append('WITH_PYTHON')
+ incs.append('../python')
+
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
incs.append(env['BF_PTHREADS_INC'])