From 3e8be645d27b770abbc759153f180a6322ea8bf4 Mon Sep 17 00:00:00 2001 From: Montellese Date: Mon, 20 Apr 2020 14:16:28 +0200 Subject: [PATCH] Set minimum version of fmt to 5.3.0 The used fmt::fmt target has been introduced with fmt 5.0.0. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cf4449c..ff7a64d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads) #--------------------------------------------------------------------------------------- if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO) if (NOT TARGET fmt::fmt) - find_package(fmt REQUIRED) + find_package(fmt 5.3.0 REQUIRED) endif () target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL) target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)