Skip to content

Fix CMake architecture detection for Mac ARM64#660

Open
asinghvi17 wants to merge 1 commit intomodelica:mainfrom
asinghvi17:fix-mac-arm64-architecture
Open

Fix CMake architecture detection for Mac ARM64#660
asinghvi17 wants to merge 1 commit intomodelica:mainfrom
asinghvi17:fix-mac-arm64-architecture

Conversation

@asinghvi17
Copy link

This fix allows the Reference FMUs to build on my machine (Mac M4, macOS v10.15).

- Add support for arm64 processor detection (used by macOS)
- Fix error message to use CMAKE_HOST_SYSTEM_PROCESSOR instead of CMAKE_SYSTEM_PROCESSOR

This allows the Reference-FMUs to build correctly on Apple Silicon Macs
without needing to manually specify -DFMI_ARCHITECTURE=aarch64.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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