Merged changes in the trunk up to revision 42116.
[blender.git] / intern / cycles / SConscript
index 4d45a6875a97f097b0c5d1912a09fd7f88c5ead4..ecd22f654e8fc6030ebdac5bf9b9ac35c8d9fe22 100644 (file)
@@ -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())