This example should 'just work' for your system.
cmake --workflow defaultmacOS needs OpenMP installed, for example via Homebrew:
brew install libompthen set in ~/.zshrc
export OpenMP_ROOT=${HOMEBREW_PREFIX}/opt/libomp
export LDFLAGS="$LDFLAGS -L${OpenMP_ROOT}/lib"
Works great, thanks!