From 8abc7160c82f61c55b352f37630a6856ca22c04d Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 6 Jun 2020 20:04:09 +0100 Subject: [PATCH] Update spdlog to v1.6.1 --- CMakeLists.txt | 2 +- src/api/helpers/logging.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 682236ab..0e95377c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,7 +158,7 @@ ExternalProject_Add(testing-plugins ExternalProject_Add(spdlog PREFIX "external" - URL "https://github.com/gabime/spdlog/archive/v1.5.0.tar.gz" + URL "https://github.com/gabime/spdlog/archive/v1.6.1.tar.gz" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "") diff --git a/src/api/helpers/logging.h b/src/api/helpers/logging.h index 19e52c56..b2af2c12 100644 --- a/src/api/helpers/logging.h +++ b/src/api/helpers/logging.h @@ -26,6 +26,10 @@ #define FMT_USE_STD_STRING_VIEW +#ifdef _WIN32 +#define NOMINMAX +#endif + #include #include