mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 10:59:02 +08:00
Allow user to choose between static or shared library
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include <locale>
|
||||
#endif
|
||||
|
||||
#ifdef SPDLOG_STATIC_LIB
|
||||
#ifdef SPDLOG_COMPILED_LIB
|
||||
#undef SPDLOG_HEADER_ONLY
|
||||
#define SPDLOG_INLINE
|
||||
#else
|
||||
@@ -216,4 +216,4 @@ std::unique_ptr<T> make_unique(Args &&... args)
|
||||
|
||||
#ifdef SPDLOG_HEADER_ONLY
|
||||
#include "common-inl.h"
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user