diff --git a/src/spdlog.cpp b/src/spdlog.cpp index 57a70067..5ec66b81 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -1,10 +1,14 @@ // Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) +#ifndef SPDLOG_STATIC_LIB +#warning spdlog is in header only configuration. please define SPDLOG_STATIC_LIB +#endif #include #include #include "spdlog/common.h" + #include "spdlog/common-inl.h" #include "spdlog/details/null_mutex.h"