mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-07 13:15:30 +02:00
Support universal (x86_64/arm64) builds for macOS
The macOS binary (libgodot-xterm.osx.64.dylib) is now a universal binary that runs natively on both x86_64 and arm64.
This commit is contained in:
parent
9e50171d04
commit
57dadf7db2
4 changed files with 23 additions and 13 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -130,7 +130,8 @@ jobs:
|
|||
OS: ${{ matrix.os }}
|
||||
run: |
|
||||
cd addons/godot_xterm/native/thirdparty/libuv
|
||||
args="-DCMAKE_BUILD_TYPE=$TARGET -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
|
||||
args="-DCMAKE_BUILD_TYPE=$TARGET -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
|
||||
-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
|
||||
if [ "$TARGET" == "release" ]; then
|
||||
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue