Skip to content

Commit 66c51db

Browse files
Fixed MoltenVk link issue; updated GHA MacOS image to macos-12
1 parent 62756e2 commit 66c51db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-apple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
precheks:
7-
runs-on: macos-latest
7+
runs-on: macos-12
88
name: MacOS -> Pre-Checks
99

1010
steps:
@@ -19,7 +19,7 @@ jobs:
1919

2020
build:
2121
needs: precheks
22-
runs-on: macos-latest
22+
runs-on: macos-12
2323

2424
strategy:
2525
matrix:

Graphics/GraphicsEngineVulkan/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ elseif(PLATFORM_IOS OR PLATFORM_TVOS)
254254
find_library(METAL_LIBRARY Metal)
255255
find_library(QUARTZ_CORE QuartzCore)
256256
find_library(UI_KIT UIKit)
257+
find_library(IO_SURFACE IOSurface)
257258
# Note that volk may be defined by external CMake, but we don't use it on iOS/tvOS
258-
list(APPEND PRIVATE_DEPENDENCIES ${MOLTENVK_LIBRARY} ${CORE_GRAPHICS} ${METAL_LIBRARY} ${QUARTZ_CORE} ${UI_KIT})
259+
list(APPEND PRIVATE_DEPENDENCIES ${MOLTENVK_LIBRARY} ${CORE_GRAPHICS} ${METAL_LIBRARY} ${QUARTZ_CORE} ${UI_KIT} ${IO_SURFACE})
259260
elseif(PLATFORM_LINUX)
260261
list(APPEND PRIVATE_DEPENDENCIES volk::volk_headers)
261262
elseif(PLATFORM_ANDROID)

0 commit comments

Comments
 (0)