diff --git a/include/spdlog_setup/details/conf_impl.h b/include/spdlog_setup/details/conf_impl.h index 2f6da6d0..8f7b2b5c 100644 --- a/include/spdlog_setup/details/conf_impl.h +++ b/include/spdlog_setup/details/conf_impl.h @@ -6,7 +6,7 @@ #pragma once -#ifndef FMT_HEADER_ONLY +#if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY) #define FMT_HEADER_ONLY #endif