#error if compiling spdlog.cpp under header only configuration

This commit is contained in:
gabime 2019-05-12 01:04:48 +03:00
parent ca9c8ae5fb
commit 654f7eceee
1 changed files with 1 additions and 1 deletions

View File

@ -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 <mutex>