Update build systems to copy needed dlls from MinGW-w64, turn openmp on by default...
[blender.git] / source / creator / CMakeLists.txt
index d9ac43d7622e0e4445f9e4ede462d933c79c378f..940c92b349cbb68bbd845044a80ac23606f1e54c 100644 (file)
@@ -551,9 +551,20 @@ elseif(WIN32)
                        )
                elseif(WITH_MINGW64)
                        install(
-                               FILES ${LIBDIR}/binaries/pthreadGC2-w64.dll
+                               FILES 
+                                       ${LIBDIR}/binaries/libgcc_s_sjlj-1.dll
+                                       ${LIBDIR}/binaries/libwinpthread-1.dll
+                                       ${LIBDIR}/binaries/libstdc++-6.dll
                                DESTINATION ${TARGETDIR}
                        )
+                       
+                       if(WITH_OPENMP)
+                               install(
+                                       FILES 
+                                       ${LIBDIR}/binaries/libgomp-1.dll
+                                       DESTINATION ${TARGETDIR}
+                               )
+                       endif()
                endif()
        endif()