Skip to content

Commit

Permalink
Avoid multiply defined symbols linker errors
Browse files Browse the repository at this point in the history
When using spdlog_setup with a compiled spdlog library.
Fixes guangie88#74.
  • Loading branch information
seanharmer committed Mar 24, 2021
1 parent d1b3f41 commit 0488b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog_setup/details/conf_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#pragma once

#ifndef FMT_HEADER_ONLY
#if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY)
#define FMT_HEADER_ONLY
#endif

Expand Down

0 comments on commit 0488b2b

Please sign in to comment.