Discregrid
Discregrid copied to clipboard
macOS compatibility
These adaptations allow builds using Clang on recent versions of macOS (tested on Apple silicon):
- Recent versions of CMake automatically determine the correct flags for OpenMP and provide a target to link against. Nevertheless, Clang does not include an OpenMP implementation on macOS by default, but the user can easily install a build of LLVM libomp (e.g. via Homebrew) to be shared by all projects requiring OpenMP which is then detected by CMake.