Fix: Render test failures when building without fluid modifier
When building Blender WITH_MOD_FLUID=OFF, the OpenVDB render tests would fail as some of them make use of the WITH_MOD_FLUID features. This commit fixes this by disabling OpenVDB render tests unless WITH_MOD_FLUID is active. Pull Request: https://projects.blender.org/blender/blender/pulls/138728
This commit is contained in:
@@ -662,7 +662,8 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
|
||||
list(APPEND render_tests motion_blur reports volume)
|
||||
endif()
|
||||
|
||||
if(WITH_OPENVDB)
|
||||
if(WITH_OPENVDB AND WITH_MOD_FLUID)
|
||||
# Some tests in the OpenVDB folder make use of fluid simulations to generate smoke
|
||||
list(APPEND render_tests openvdb)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user