Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also add custom compiler flags for AppleClang #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryandesign
Copy link

This project adds custom compiler flags when the compiler is "Clang" or "GNU" (gcc). Apple's version of Clang (which comes with Xcode and the Xcode command line tools on macOS) identifies itself not as "Clang" but "AppleClang" so before this PR it did not receive those custom flags.

@ryandesign
Copy link
Author

Apple's version of Clang … identifies itself not as "Clang" but "AppleClang"

…when CMP0025 is NEW (i.e. -DCMAKE_POLICY_DEFAULT_CMP0025=NEW is passed to cmake).

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