From c082b088ab966db78af47a5e831c77412fbeba85 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 31 Oct 2022 19:53:02 +0100 Subject: 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. --- source/creator/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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} -- cgit v1.2.3