macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.
[blender.git] / source / creator / CMakeLists.txt
index a553b8a569b0a846126bd818b8e9d2621dc33298..d2255bbd89409cf9df14504d390575ef316815fb 100644 (file)
@@ -914,6 +914,13 @@ elseif(APPLE)
                blender.app/Contents/
        )
 
+       if(WITH_OPENMP AND OPENMP_CUSTOM)
+               install(
+                       FILES ${LIBDIR}/openmp/lib/libomp.dylib
+                       DESTINATION blender.app/Contents/Resources/lib
+               )
+       endif()
+
        if(WITH_LLVM AND NOT LLVM_STATIC)
                install(
                        FILES ${LIBDIR}/llvm/lib/libLLVM-3.4.dylib