From 3834acad5b2d524dd554d82ed2c455ab15f963c0 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 12 May 2019 01:12:46 +0300 Subject: [PATCH] #error if compiling spdlog.cpp under header only configuration --- src/spdlog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spdlog.cpp b/src/spdlog.cpp index 7399c4ee..60b18966 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -1,7 +1,8 @@ // Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) + #ifndef SPDLOG_STATIC_LIB -#error spdlog is in HEADER_ONLY configuration. Define SPDLOG_STATIC_LIB to compile this file. +#error Please define SPDLOG_STATIC_LIB to compile this file. #endif #include