diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-05 19:43:27 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-05 19:43:54 +0400 |
commit | d3a7f3fa296d1676a188f69741d6beb0a0052605 (patch) | |
tree | 973a80f8062aa006444f6d28f82f189c1d9e33fb /intern/cycles/kernel | |
parent | e4b910a0aa159e46053910fe27da6db53bce2900 (diff) |
Cycles: Forgot to set WITH_CYCLES_DEBUG for OSL kernel
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/osl/SConscript | 3 |
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']) |