Scons: better fix for OSL compiler path, so it also works on OS X.
This commit is contained in:
@@ -14,7 +14,7 @@ if env['WITH_BF_CYCLES_OSL']:
|
|||||||
shaders = env.Clone()
|
shaders = env.Clone()
|
||||||
|
|
||||||
# osl compiler
|
# osl compiler
|
||||||
osl_compiler = env._canonicalize(env.subst(env['BF_OSL_COMPILER']))
|
osl_compiler = File(env.subst(env['BF_OSL_COMPILER'])).abspath
|
||||||
|
|
||||||
# build directory
|
# build directory
|
||||||
root_build_dir = normpath(env['BF_BUILDDIR'])
|
root_build_dir = normpath(env['BF_BUILDDIR'])
|
||||||
|
Reference in New Issue
Block a user