Skip to content

Fix: Update CMake for Apple SDK 26#89

Open
JMartinon wants to merge 1 commit into
MatthewsResearchGroup:masterfrom
JMartinon:fix/Apple_SDK_26
Open

Fix: Update CMake for Apple SDK 26#89
JMartinon wants to merge 1 commit into
MatthewsResearchGroup:masterfrom
JMartinon:fix/Apple_SDK_26

Conversation

@JMartinon

Copy link
Copy Markdown

Apple’s Mach SDK headers use the C spelling _Static_assert, which Apple Clang accepts in C++ mode but GNU g++ rejects. This caused the BLIS plugin build to fail when blis.h pulled in <mach/mach_time.h> through BLIS system headers.

This patch adds a narrow CMake compatibility flag for Apple + GNU C++ builds.

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