macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.
[blender.git] / build_files / build_environment / cmake / harvest.cmake
index d79d91f..a281eb9 100644 (file)
@@ -131,6 +131,10 @@ harvest(lame/lib ffmpeg/lib "*.a")
 harvest(clang/bin llvm/bin "clang-format")
 harvest(llvm/bin llvm/bin "llvm-config")
 harvest(llvm/lib llvm/lib "libLLVM*.a")
+if(APPLE)
+       harvest(openmp/lib openmp/lib "*")
+       harvest(openmp/include openmp/include "*.h")
+endif()
 harvest(ogg/lib ffmpeg/lib "*.a")
 harvest(openal/include openal/include "*.h")
 if(UNIX AND NOT APPLE)