Skip to content

Is it possible to automatically link static FMT or even disable it? #2442

Answered by tt4g
dwarfovich asked this question in Q&A
Discussion options

You must be logged in to vote

Unless the CMake variable SPDLOG_BUILD_SHARED (or BUILD_SHARED_LIBS) is defined, spdlog is built as a static library, so the bundled fmt is also part of the library.
If you do not use the bundled fmt, you are responsible for providing the static library fmt.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tt4g
Comment options

Answer selected by dwarfovich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants