From ac0b95c824d52b7061571905e275f9688b53a543 Mon Sep 17 00:00:00 2001 From: Aras Pranckevicius Date: Wed, 8 Oct 2025 10:48:26 +0200 Subject: [PATCH] Fix: Build does not link when FFTW3 is off, but Rubberband is on Rubberband depends on FFTW3, so if that is turned off in the build, turn off Rubberband as well Pull Request: https://projects.blender.org/blender/blender/pulls/147604 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6418b33cbe..2c59113b745 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1363,8 +1363,9 @@ set_and_warn_dependency(WITH_IMAGE_OPENEXR WITH_CYCLES_OSL OFF) # Hydra requires USD. set_and_warn_dependency(WITH_USD WITH_HYDRA OFF) -# The Ocean modifier requires FFTW3. +# Ocean modifier and Rubberband require FFTW3. set_and_warn_dependency(WITH_FFTW3 WITH_MOD_OCEANSIM OFF) +set_and_warn_dependency(WITH_FFTW3 WITH_RUBBERBAND OFF) if(NOT WITH_CYCLES) set(WITH_CYCLES_OSL OFF) @@ -2839,6 +2840,7 @@ if(FIRST_RUN) info_cfg_option(WITH_POTRACE) info_cfg_option(WITH_PUGIXML) info_cfg_option(WITH_QUADRIFLOW) + info_cfg_option(WITH_RUBBERBAND) info_cfg_option(WITH_TBB) info_cfg_option(WITH_USD) info_cfg_option(WITH_MATERIALX)