Skip to content

Conversation

@ChinChangYang
Copy link
Contributor

Summary

This pull request updates the cmake modules to align with the latest implementation from swift-cmake-examples.
The update resolves #1063, allowing the Metal backend to be successfully built using cmake 4.*.

Background

The same modification was first introduced and tested in the ChinChangYang#6.
A GitHub Action workflow has already verified this approach on macos-13 with cmake 4.* in ChinChangYang@3cb0e05.

Notes

  • Aligns cmake modules with upstream Swift examples.
  • Confirms compatibility with cmake 4.* and the Metal backend build process.
  • Builds successfully verified via CI on macOS.

…Make 4.*

These changes sync our CMake modules with the latest from swift-cmake-examples, ensuring compatibility with CMake 4.x and resolving build failures related to the Metal backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't compile KataGo with Metal backend

1 participant