Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-10-31 21:53:02 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-10-31 21:56:59 +0300
commitc082b088ab966db78af47a5e831c77412fbeba85 (patch)
treeebced7475e5163b4012aa1fcc62e805420dfee35
parent8bddbc9a944965c431bbef4c0158f5581575791e (diff)
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.
-rw-r--r--source/creator/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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}