Fix T95502: macOS app has both python 3.9 and 3.10 executables

This commit is contained in:
Brecht Van Lommel 2022-02-07 20:51:03 +01:00
parent 880e85fc80
commit 11d785edea
Notes: blender-bot 2023-02-14 03:59:42 +01:00
Referenced by issue #95502, Python executable can not be executed
1 changed files with 3 additions and 3 deletions

View File

@ -1104,9 +1104,9 @@ elseif(APPLE)
${TARGETDIR_VER}/python/lib
)
install(DIRECTORY ${LIBDIR}/python/bin
DESTINATION ${TARGETDIR_VER}/python
USE_SOURCE_PERMISSIONS
install(
PROGRAMS ${PYTHON_EXECUTABLE}
DESTINATION ${TARGETDIR_VER}/python/bin
)
# Needed for distutils/pip