[Bf-blender-cvs] [038a19ce6c3] master: Fix macOS incomplete Python install after recent changes

Brecht Van Lommel noreply at git.blender.org
Mon Sep 12 15:48:20 CEST 2022


Commit: 038a19ce6c357fb4541cda6169339c57d6fe473e
Author: Brecht Van Lommel
Date:   Mon Sep 12 15:45:54 2022 +0200
Branches: master
https://developer.blender.org/rB038a19ce6c357fb4541cda6169339c57d6fe473e

Fix macOS incomplete Python install after recent changes

After 2c23b4e0bff0 the meaning of PYTHON_LIBPATH changed.

===================================================================

M	source/creator/CMakeLists.txt

===================================================================

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index b228c8d9ac1..eee64b97e82 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -1173,7 +1173,7 @@ elseif(APPLE)
   if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE AND NOT WITH_PYTHON_FRAMEWORK)
     # Copy the python libraries into the install directory.
     install_dir(
-      ${PYTHON_LIBPATH}
+      ${PYTHON_LIBPATH}/python${PYTHON_VERSION}
       ${TARGETDIR_VER}/python/lib
     )



More information about the Bf-blender-cvs mailing list