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.
This commit is contained in:
Brecht Van Lommel 2022-10-31 19:53:02 +01:00
parent 8bddbc9a94
commit c082b088ab
1 changed files with 7 additions and 0 deletions

View File

@ -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}