References:
- https://stackoverflow.com/questions/68714618/compile-freecad-on-macos-big-sur-11-5-1-with-homebrew-error-finding-xercesc-fil/68714858#68714858
- https://wiki.freecadweb.org/Compile_on_MacOS/en
- https://github.com/FreeCAD/homebrew-freecad/blob/master/Formula/freecad.rb
- https://github.com/ipatch/homebrew-us-05/tree/dev/freecad#building-freecad-for-macos-by-macos
- https://blog.kitware.com/cmake-building-with-all-your-cores/
# install freecad dependencies via homebrew