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

Don't override interface flags for spdlog. #804

Merged
merged 2 commits into from Apr 19, 2020

Conversation

ytimenkov
Copy link
Contributor

Finding fmt explicitly is not needed since it's handled by spdlog's
CMake files.

Fixes: #691.

Finding fmt explicitly is not needed since it's handled by spdlog's
CMake files.

Fixes: gerbera#691.
@ytimenkov
Copy link
Contributor Author

Attempt number 2 :)

I looked at spdlog history and it seems they switched to fmt 6.0 in version 1.4.

I also checked on my ubuntu 19.10 with libspdlog-dev=1:1.3.1-1 and libfmt-dev=5.2.1+ds-2, seems to build (although I've got my warning about SPDLOG_FMT_EXTERNAL).

However I can remove it if you don't want to have it.

@whyman
Copy link
Member

whyman commented Apr 18, 2020

Docker build failed with spdlog/fmt/fmt.h:22:10: fatal error: spdlog/fmt/bundled/core.h: No such file or directory

If spdlog found via find_library then CMakeFiles are not read and
SPDLOG_FMT_EXTERNAL variable is undefined.
@ytimenkov
Copy link
Contributor Author

I think I have an idea why this is happening. This could then be the reason for adding define of SPDLOG_FMT_EXTERNAL...

@whyman
Copy link
Member

whyman commented Apr 19, 2020

LGTM! Thanks

@whyman whyman merged commit 72f7d5b into gerbera:master Apr 19, 2020
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.

Should not override interface flags for spdlog
2 participants