[Bf-blender-cvs] [c082b088ab9] master: Fix bpy wheel on buildbot being incomplete on Windows

Brecht Van Lommel noreply at git.blender.org
Mon Oct 31 20:13:30 CET 2022


Commit: c082b088ab966db78af47a5e831c77412fbeba85
Author: Brecht Van Lommel
Date:   Mon Oct 31 19:53:02 2022 +0100
Branches: master
https://developer.blender.org/rBc082b088ab966db78af47a5e831c77412fbeba85

Fix bpy wheel on buildbot being incomplete on Windows

Need to explicitly install __init__.pyd for the case where the install
folder is different than the build folder.

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

M	source/creator/CMakeLists.txt

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

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index caaffa283ba..bb9e73c0895 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -1077,6 +1077,13 @@ elseif(WIN32)
     )
   endif()
 
+  if(WITH_PYTHON_MODULE AND TARGETDIR_BPY)
+    install(
+      TARGETS blender
+      LIBRARY DESTINATION ${TARGETDIR_BPY}
+    )
+  endif()
+
   if(PLATFORM_BUNDLED_LIBRARIES)
     install(
       FILES ${PLATFORM_BUNDLED_LIBRARIES}



More information about the Bf-blender-cvs mailing list