Skip to content

Commit 80c886c

Browse files
committed
apple silicon build fix
1 parent fb26f35 commit 80c886c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/ccpp_mac_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
build:
1313

14-
runs-on: macos-11
14+
runs-on: macos-14
1515

1616
steps:
1717
- uses: actions/checkout@v3

.github/workflows/ccpp_mac_arm_debug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010

11-
runs-on: macos-11
11+
runs-on: macos-14
1212

1313
steps:
1414
- uses: actions/checkout@v2

.github/workflows/ccpp_mac_arm_rc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010

11-
runs-on: macos-11
11+
runs-on: macos-14
1212

1313
steps:
1414
- uses: actions/checkout@v2

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ if(WIN32)
206206
endif()
207207

208208
if (APPLE)
209+
add_compile_options(-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION)
209210
message("OS X SDK Path: ${CMAKE_OSX_SYSROOT}")
210211
if (CMAKE_OSX_DEPLOYMENT_TARGET)
211212
message("OS X Deployment Target: ${CMAKE_OSX_DEPLOYMENT_TARGET}")

0 commit comments

Comments
 (0)