diff options
author | Thomas Dinges <blender@dingto.org> | 2011-11-24 23:22:34 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-11-24 23:22:34 +0400 |
commit | 366554d3038f9710f469bd2461c6761784f11f34 (patch) | |
tree | e0d00b0c89eaa86578f384f613ad3d2ef2d09c7d /intern | |
parent | fc77949b5d37d0dc7208bbf4e859dfccedfdf1d5 (diff) |
Scons / Cycles:
* Add dummy WITH_BF_CYCLES_BINARIES to scons, to be able to copy the .cubin kernels from cmake and have it work.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/SConscript b/intern/cycles/SConscript index 4d45a6875a9..ecd22f654e8 100644 --- a/intern/cycles/SConscript +++ b/intern/cycles/SConscript @@ -22,6 +22,9 @@ defs.append('WITH_OPENCL') defs.append('WITH_MULTI') defs.append('WITH_CUDA') +if env['WITH_BF_CYCLES_BINARIES']: + defs.append('WITH_CUDA_BINARIES') + incs.extend('. bvh render device kernel kernel/osl kernel/svm util subd'.split()) incs.extend('#intern/guardedalloc #source/blender/makesrna #source/blender/makesdna'.split()) incs.extend('#source/blender/blenloader ../../source/blender/makesrna/intern'.split()) |