From 11d785edea7c96a34c4990b88ab833faa52b581c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 7 Feb 2022 20:51:03 +0100 Subject: Fix T95502: macOS app has both python 3.9 and 3.10 executables --- source/creator/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/creator/CMakeLists.txt') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 6f23fbe486a..bc4d912405c 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -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 -- cgit v1.2.3