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

Do not override user provided compile flag #959

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

Zefz
Copy link
Contributor

@Zefz Zefz commented Dec 3, 2018

Currently core.h overrides my -DFMT_EXCEPTIONS=0 flag supplied from my CMake project which includes fmtlib as a third-party dependency.

This minor edit allows a parent CMake file to disable exceptions by explicitly setting the FMT_EXCEPTIONS flag to 0.

@vitaut vitaut merged commit e867768 into fmtlib:master Dec 3, 2018
@vitaut
Copy link
Contributor

vitaut commented Dec 3, 2018

Merged, thanks!

@vitaut
Copy link
Contributor

vitaut commented May 12, 2019

@Zefz, could you please review the updated CONTIBUTING document, particularly the part about licensing, and let me know if you agree with it being applied to your contributions to {fmt}? The library is likely to be relicensed (#1073) so I'm collecting approval from all earlier contributors. Thanks!

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.

2 participants