diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-08-09 16:59:56 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-08-09 16:59:56 +0300 |
commit | 9990792e87238386375c97f431f648c1334bd587 (patch) | |
tree | f1d1291d698dcd561a2dbf231121e60893fc034b /source/blender/editors | |
parent | f6639cc4fc1fd9fbbe1454ce216d6d0c8fe1ebdf (diff) |
Compositor: Rename compositor build option
Currently, the compositor can be disabled using the WITH_COMPOSITOR
build option. Since, we intent to always build the realtime compositor,
we need to make the distinction between both compositors clear.
So this patch renames the option to WITH_COMPOSITOR_CPU. Additionally,
the check for the option was moved inside the compositor modules' own
CMake file in preparation for the realtime compositor code.
Differential Revision: https://developer.blender.org/D15622
Reviewed By: Jeroen Bakker, Ray Molenkamp
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/CMakeLists.txt b/source/blender/editors/space_node/CMakeLists.txt index badcccca87b..26fddda8c22 100644 --- a/source/blender/editors/space_node/CMakeLists.txt +++ b/source/blender/editors/space_node/CMakeLists.txt @@ -50,8 +50,8 @@ set(LIB bf_editor_screen ) -if(WITH_COMPOSITOR) - add_definitions(-DWITH_COMPOSITOR) +if(WITH_COMPOSITOR_CPU) + add_definitions(-DWITH_COMPOSITOR_CPU) endif() if(WITH_OPENIMAGEDENOISE) |