diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-24 13:56:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-24 16:39:09 +0300 |
commit | a028575c4a613b5d87ec26434f8c846c60861cfe (patch) | |
tree | c3329089d9a357d9dc0ee81d6845e0fccbef3a68 /source/blender/compositor/CMakeLists.txt | |
parent | 54e6413d672ffab49f2c8e04382389a9f5b5e706 (diff) |
Compositor: Allow using debug pass output in the compositor
Currently only works correct with single float output, RGBA and vector are not
supported so if one need to use this passes he'll need to wait a bit still.
It is coming, don't worry.
Diffstat (limited to 'source/blender/compositor/CMakeLists.txt')
-rw-r--r-- | source/blender/compositor/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/CMakeLists.txt b/source/blender/compositor/CMakeLists.txt index 7a8c5596a57..972db6b71d2 100644 --- a/source/blender/compositor/CMakeLists.txt +++ b/source/blender/compositor/CMakeLists.txt @@ -551,4 +551,8 @@ data_to_c(${CMAKE_CURRENT_SOURCE_DIR}/operations/COM_OpenCLKernels.cl add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS) +if(WITH_CYCLES AND WITH_CYCLES_DEBUG) + add_definitions(-DWITH_CYCLES_DEBUG) +endif() + blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}") |