diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-10 00:11:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-10 00:11:18 +0400 |
commit | a2002564518aee282c9333e555db7afe0bc8a92b (patch) | |
tree | 960b911d84a44ed96f2c21506bdbe26387f10610 | |
parent | b5491291e4a04e08b970592aa64252ea60a31382 (diff) |
Fix windows scons OSL build error, just use quotes now instead of array.
-rw-r--r-- | intern/cycles/kernel/shaders/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/SConscript b/intern/cycles/kernel/shaders/SConscript index 12143e7f6e9..8bc1c2206e0 100644 --- a/intern/cycles/kernel/shaders/SConscript +++ b/intern/cycles/kernel/shaders/SConscript @@ -57,7 +57,7 @@ if env['WITH_BF_CYCLES_OSL']: osl_file = os.path.join(source_dir, f) oso_file = os.path.join(build_dir, f.replace('.osl', '.oso')) - command = [osl_compiler, "-q", "-O2", "-I", source_dir, oso_file, osl_file] + command = "\"%s\" -q -O2 -I\"%s\" -o \"%s\" \"%s\"" % (osl_compiler, source_dir, oso_file, osl_file) shaders.Command(oso_file, f, command) shaders.Depends(oso_file, [f] + dependencies) |