-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Usage of spdlog with fmt #3196
Comments
fmt is not always installed with spdlog. Lines 322 to 325 in 2c76e61
If you installed spdlog with |
I want to clarify: I have already installed fmt and spdlog, and I have set SPDLOG_FMT_EXTERNAL=ON. Here is the compiled spdlog
|
If |
If I want to build spdlog with fmt and only use find_package(SPDLOG) on my project. (no find_package(fmt) on my project ) |
Rebuild and reinstall spdlog without defining |
Thanks, So the default setting is using include/spdlog/fmt ? https://github.com/gabime/spdlog/tree/v1.x/include/spdlog/fmt
|
|
Install the spdlog with fmt, then I try to find_package(SPDLOG)
it show the error, but I alread install the spdlog with fmt.
Why does it still need twice?
one is cmake build spdlog with fmt, another is use find_package(SPDLOG) on project.
the error is find_package(SPDLOG), by the way, I already install the spdlog with fmt
spdlog/CMakeLists.txt
Line 91 in 2c76e61
https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt
The text was updated successfully, but these errors were encountered: