[Bf-blender-cvs] [c42ae8be] master: CMake: copy python DLL for MinGW builds
Campbell Barton
noreply at git.blender.org
Tue Jan 5 12:23:51 CET 2016
Commit: c42ae8be6056119c9b899dd40cbcb3ed1f28c35a
Author: Campbell Barton
Date: Tue Jan 5 22:01:07 2016 +1100
Branches: master
https://developer.blender.org/rBc42ae8be6056119c9b899dd40cbcb3ed1f28c35a
CMake: copy python DLL for MinGW builds
===================================================================
M source/creator/CMakeLists.txt
===================================================================
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 3c79465..0b3cf5f 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -708,6 +708,20 @@ elseif(WIN32)
DESTINATION ${BLENDER_VERSION}/python/bin
CONFIGURATIONS Debug
)
+
+ # MinGW needs Python DLL
+ if(MINGW)
+ install(
+ FILES ${LIBDIR}/python/lib/python${_PYTHON_VERSION_NO_DOTS}.dll
+ DESTINATION "."
+ CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
+ )
+ install(
+ FILES ${LIBDIR}/python/lib/python${_PYTHON_VERSION_NO_DOTS}_d.dll
+ DESTINATION "."
+ CONFIGURATIONS Debug
+ )
+ endif()
endif()
unset(_PYTHON_VERSION_NO_DOTS)
More information about the Bf-blender-cvs
mailing list