From 1dbe9c7569679551b5af32f2f61619c0ec53a661 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Wed, 22 Jul 2026 11:38:23 +0200 Subject: [PATCH] Update spdlog version 1.11.0 fails to build with MSVC. See https://github.com/gabime/spdlog/issues/2912 and https://github.com/fmtlib/fmt/issues/3540. This is because it uses an old version of fmt. Since then, fmt fixes the build failure. In the meantime, spdlog updated its bundled version of fmt. So using the latest version of spdlog fixes the build failure. --- cmake/recipes/spdlog.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/recipes/spdlog.cmake b/cmake/recipes/spdlog.cmake index 90ca20d..5a3590d 100644 --- a/cmake/recipes/spdlog.cmake +++ b/cmake/recipes/spdlog.cmake @@ -19,7 +19,7 @@ option(SPDLOG_INSTALL "Generate the install target" ON) set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "spdlog") include(CPM) -CPMAddPackage("gh:gabime/spdlog@1.11.0") +CPMAddPackage("gh:gabime/spdlog@1.17.0") set_target_properties(spdlog PROPERTIES POSITION_INDEPENDENT_CODE ON)