From 654f7eceeefe475ab386b743e0246e136a00b04f Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 12 May 2019 01:04:48 +0300 Subject: [PATCH] #error if compiling spdlog.cpp under header only configuration --- src/spdlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spdlog.cpp b/src/spdlog.cpp index 5ec66b81..7399c4ee 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -1,7 +1,7 @@ // 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 +#error spdlog is in HEADER_ONLY configuration. Define SPDLOG_STATIC_LIB to compile this file. #endif #include