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 /extern | |
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 'extern')
-rw-r--r-- | extern/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 35da67d05a4..4da9631d395 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -48,7 +48,7 @@ if(WITH_LZMA) add_subdirectory(lzma) endif() -if(WITH_CYCLES OR WITH_COMPOSITOR OR WITH_OPENSUBDIV) +if(WITH_CYCLES OR WITH_COMPOSITOR_CPU OR WITH_OPENSUBDIV) add_subdirectory(clew) if((WITH_CYCLES_DEVICE_CUDA OR WITH_CYCLES_DEVICE_OPTIX) AND WITH_CUDA_DYNLOAD) add_subdirectory(cuew) @@ -96,6 +96,6 @@ if(WITH_MOD_FLUID) add_subdirectory(mantaflow) endif() -if(WITH_COMPOSITOR) +if(WITH_COMPOSITOR_CPU) add_subdirectory(smaa_areatex) endif() |