This commit is contained in:
ConfiG 2024-06-28 14:20:42 +03:00 committed by GitHub
parent 8d741e534e
commit 3ac48d2c27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 11 deletions
.github/workflows
cmake

View file

@ -148,14 +148,14 @@ jobs:
id: build-debug-info
uses: ./.github/actions/build-debug-info
with:
has-sccache: true
has-sccache: false
- name: Setup caches
uses: ./.github/actions/setup-cache
with:
host: mac
target: mac
use-ccache: ${{ github.event_name != 'workflow_dispatch' || inputs.use-ccache }}
#- name: Setup caches
# uses: ./.github/actions/setup-cache
# with:
# host: mac
# target: mac
# use-ccache: false
- name: Setup Ninja
uses: ./.github/actions/setup-ninja
@ -179,12 +179,12 @@ jobs:
-DCMAKE_RANLIB='/usr/bin/ranlib'
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.15"
-DGEODE_DISABLE_PRECOMPILED_HEADERS=Off
-DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
${{ steps.build-debug-info.outputs.extra-configure }}
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib"
- name: Build
run: |
@ -193,7 +193,7 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib"
- name: Upload Artifacts
uses: actions/upload-artifact@v4

View file

@ -26,7 +26,7 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
# only exists as a global property
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
#target_compile_options(${PROJECT_NAME} INTERFACE "-mmacos-version-min=10.15")
target_compile_options(${PROJECT_NAME} INTERFACE "-mmacos-version-min=10.15")
target_link_libraries(${PROJECT_NAME} INTERFACE
"-framework Cocoa"