1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
Anthony Bilinski
b4636c8174
chore(CI): Add support for building openal for macOS
CMAKE_OSX_DEPLOYMENT_TARGET has no effect when not building for macOS.

MACOSX_RPATH must be set explicitly for OpenAL to be found. It is default using newer cmake, but OpenAL is using cmake 2.6.
2022-03-21 19:16:41 -07:00
Anthony Bilinski
42b4385c35
chore(CI): Use platform detection script in Windows dep build scripts
Allows future macOS configuration in each individual build script to not all be
duplicated. Also deduplicates current Windows arg checking and config setting.
2022-03-15 22:39:07 -07:00
Anthony Bilinski
9bf17acca6
chore(CI): Handle build scripts called with relative paths with spaces
foo=dirname "$0" only works if the script is called with an absolute path and
that path contains no spaces. Add quotes everywhere to contain spaces in
directory names or file names, and add realpath to get the absolute path
regardless of call path.

Not necessarily needed, but like in e405868037
it can avoid some annoying issues when e.g. that script was called with a
relative path in CI.
2022-03-13 06:20:44 -07:00
Anthony Bilinski
69514319fd
chore(CI): Rename Windows build scripts to be used commonly by macOS 2022-03-13 06:20:25 -07:00