[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54852] trunk/blender/source/gameengine/ Rasterizer/SConscript: Check if the variable is a string and split nicely, so compile command stays intact with proper include options.
Nathan Letwory
nathan at letworyinteractive.com
Mon Feb 25 13:03:55 CET 2013
Revision: 54852
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54852
Author: jesterking
Date: 2013-02-25 12:03:55 +0000 (Mon, 25 Feb 2013)
Log Message:
-----------
Check if the variable is a string and split nicely, so compile command stays intact with proper include options.
Modified Paths:
--------------
trunk/blender/source/gameengine/Rasterizer/SConscript
Modified: trunk/blender/source/gameengine/Rasterizer/SConscript
===================================================================
--- trunk/blender/source/gameengine/Rasterizer/SConscript 2013-02-25 12:03:26 UTC (rev 54851)
+++ trunk/blender/source/gameengine/Rasterizer/SConscript 2013-02-25 12:03:55 UTC (rev 54852)
@@ -47,7 +47,10 @@
defs = ['GLEW_STATIC']
if env['WITH_BF_PYTHON']:
- incs.append(env['BF_PYTHON_INC'])
+ if type(env['BF_PYTHON_INC']) == str:
+ incs.append(env['BF_PYTHON_INC'].split(' '))
+ else:
+ incs.append(env['BF_PYTHON_INC'])
defs.append('WITH_PYTHON')
if env['WITH_BF_CXX_GUARDEDALLOC']:
More information about the Bf-blender-cvs
mailing list