diff --git a/CMakeLists.txt b/CMakeLists.txt index 436520b9392..958b2a11d6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -517,7 +517,9 @@ else() set(WITH_INPUT_IME OFF) endif() option(WITH_INPUT_NDOF "Enable NDOF input devices (SpaceNavigator and friends)" ON) -if(UNIX AND NOT APPLE) +# On Windows and for the Blender application on macOS, portable install +# is the only supported installation type, so there is no option. +if(UNIX AND (NOT APPLE OR WITH_PYTHON_MODULE)) option(WITH_INSTALL_PORTABLE "\ Install redistributable runtime, otherwise install into CMAKE_INSTALL_PREFIX" ON