-
Notifications
You must be signed in to change notification settings - Fork 101
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
spdlog: Use system library if found #154
Conversation
f38ec6d
to
f93d4d7
Compare
f93d4d7
to
4b5080c
Compare
We'll accept this if you place the lookup behind a cmake flag that distros can enable if they want to. We want the bundled headers to be used by default. |
It is customizable with |
If we default to system headers, at best nothing changes, but at worst a breaking change gets introduced. |
Version checking is handled by simply adding a |
4b5080c
to
5908461
Compare
I've added this behavior, if SYSTEM_SPDLOG flag isn't specified, the project defaults to use the bundled spdlog. |
5908461
to
3970d1a
Compare
One last thing, please re-fetch and add signed-off-by line to the commit. |
3970d1a
to
009dd6b
Compare
Aaand done :) |
Signed-off-by: František Zatloukal <fzatlouk@redhat.com>
009dd6b
to
1ae17d0
Compare
Distributions prefer to use system libraries if present, this will make level-zero use the system spdlog if one is found, falls back to the bundled one otherwise.