Fix "make bpy" on macOS not install libraries inside bpy module

Default to WITH_PORTABLE_INSTALL behavior for this case, same as on
Windows and Linux.
This commit is contained in:
Brecht Van Lommel 2023-11-01 18:28:53 +01:00
parent 01b617a3c6
commit 39f7411065

@ -522,7 +522,9 @@ if(WIN32 OR APPLE)
option(WITH_INPUT_IME "Enable Input Method Editor (IME) for complex Asian character input" ON)
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