Skip to content

Instantly share code, notes, and snippets.

#!/bin/zsh
#
# Important: This is quickly updated fork of a script from https://gist.github.com/Kolcha/3ccd533123b773ba110b8fd778b1c2bf
# To make the build smooth I've changed the following
# - updated version of dependencies
# - moved cmake installation and adding to PATH above qt, as qt's perl script requires cmake to be in PATH.
#
# To get successful build I've created new system user `builduser` and then made `/opt/homebrew` inaccessible to this new user.
# Simplified steps:
# - su - builduser