Skip to content

Fix build with Apple Silicon and modern toolchain - #110

Open
jlcuadros wants to merge 1 commit into
Isarhamster:masterfrom
jlcuadros:fix/macos-arm64-build
Open

Fix build with Apple Silicon and modern toolchain#110
jlcuadros wants to merge 1 commit into
Isarhamster:masterfrom
jlcuadros:fix/macos-arm64-build

Conversation

@jlcuadros

Copy link
Copy Markdown

This fixes building ChessX natively on Apple Silicon Macs.

Tested on:

  • macOS 26.5.1
  • Apple Silicon arm64
  • AppleClang 21
  • CMake 4.4
  • Qt 5.15

Changes:

  • Update C++ standard from C++11 to C++17 because the code uses std::as_const.
  • Add src/gui to quazip include directories so qt6compat.h can be found.

Result:
ChessX builds and runs as a native arm64 macOS application.

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.

1 participant