mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
update zlib for mac compile
This commit is contained in:
parent
67eb9a0991
commit
bcd2f2b085
1 changed files with 3 additions and 3 deletions
|
|
@ -51,9 +51,9 @@ jobs:
|
|||
command: |
|
||||
mkdir -p ~/deps
|
||||
cd ~/deps
|
||||
curl https://www.zlib.net/zlib-1.2.13.tar.xz | tar xz
|
||||
cd zlib-1.2.13
|
||||
if [ ! -f /usr/local/lib/libz.1.2.13.dylib ]; then
|
||||
curl https://www.zlib.net/zlib-1.3.tar.xz | tar xz
|
||||
cd zlib-1.3
|
||||
if [ ! -f /usr/local/lib/libz.1.3.dylib ]; then
|
||||
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_MACOSX_RPATH=TRUE
|
||||
cmake --build build --config Release -j$NPROC
|
||||
sudo cmake --install build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue