Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-05 19:43:27 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-05 19:43:54 +0400
commitd3a7f3fa296d1676a188f69741d6beb0a0052605 (patch)
tree973a80f8062aa006444f6d28f82f189c1d9e33fb
parente4b910a0aa159e46053910fe27da6db53bce2900 (diff)
Cycles: Forgot to set WITH_CYCLES_DEBUG for OSL kernel
-rw-r--r--intern/cycles/kernel/osl/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/osl/SConscript b/intern/cycles/kernel/osl/SConscript
index 4685bb7753e..d721edbaf6e 100644
--- a/intern/cycles/kernel/osl/SConscript
+++ b/intern/cycles/kernel/osl/SConscript
@@ -43,6 +43,9 @@ defs.append('CCL_NAMESPACE_BEGIN=namespace ccl {')
defs.append('CCL_NAMESPACE_END=}')
defs.append('WITH_OSL')
+if env['WITH_BF_CYCLES_DEBUG']:
+ defs.append('WITH_CYCLES_DEBUG')
+
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
cxxflags.append('-DBOOST_NO_RTTI -DBOOST_NO_TYPEID /fp:fast'.split())
incs.append(env['BF_PTHREADS_INC'])