diff options
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 07bc1d5d83d..43533d55f55 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -1054,6 +1054,15 @@ elseif(APPLE) ) unset(_py_inc_suffix) endif() + if(WITH_PYTHON_MODULE) + install( + TARGETS blender + LIBRARY DESTINATION ${PYTHON_LIBPATH}/site-packages + ) + install_dir( + ${CMAKE_INSTALL_PREFIX}/${TARGETDIR_VER} + ${PYTHON_LIBPATH}/Resources) + endif() if(WITH_DRACO) install( |