Check if the variable is a string and split nicely, so compile command stays intact with proper include options.
This commit is contained in:
@@ -47,6 +47,9 @@ incs = [
|
||||
defs = ['GLEW_STATIC']
|
||||
|
||||
if env['WITH_BF_PYTHON']:
|
||||
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')
|
||||
|
||||
|
Reference in New Issue
Block a user