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
This commit is contained in:
Aras Pranckevicius
2025-10-08 10:48:26 +02:00
committed by Aras Pranckevicius
parent d519b189b7
commit ac0b95c824

View File

@@ -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)