Hello,
I have played around with CI builds and have even found a general solution for including dependencies on OS X.
What I do not know, is whether all dependencies from Homebrew etc. are only installed in /usr/local/lib/ or if they also install libraries to /usr/lib/.