CMake: disable WITH_MOD_FLUID when WITH_PYTHON=OFF

This commit is contained in:
Campbell Barton 2022-05-20 11:17:32 +10:00
parent 74a34d95d6
commit c1dcc64750
1 changed files with 1 additions and 0 deletions

View File

@ -765,6 +765,7 @@ endif()
set_and_warn_dependency(WITH_PYTHON WITH_CYCLES OFF)
set_and_warn_dependency(WITH_PYTHON WITH_DRACO OFF)
set_and_warn_dependency(WITH_PYTHON WITH_MOD_FLUID OFF)
if(WITH_DRACO AND NOT WITH_PYTHON_INSTALL)
message(STATUS "WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now")