diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-10-31 21:53:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-10-31 21:56:59 +0300 |
commit | c082b088ab966db78af47a5e831c77412fbeba85 (patch) | |
tree | ebced7475e5163b4012aa1fcc62e805420dfee35 | |
parent | 8bddbc9a944965c431bbef4c0158f5581575791e (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.txt | 7 |
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} |