From b34a36be0654d96fb8c585b8f4b8349b0853768a Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Wed, 26 Jul 2023 10:24:34 +0200 Subject: [PATCH] cmake: ensure fmt lib is atleast 8.1.1 Since we depend on newer api features like `group_digits` ensure that the system version of fmt we use is at least as new as the submodules we bring. Signed-off-by: Abhishek Lekshmanan (cherry picked from commit eead42d4b1ec1bc1d7d2267b3ce97b8f34a7fb9b) --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0a841c5db37..e1f90f72b2d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -321,7 +321,7 @@ if(NOT TARGET RapidJSON::RapidJSON) endif() option(WITH_FMT_HEADER_ONLY "use header-only version of fmt library" OFF) -set(WITH_FMT_VERSION "7.0.0" CACHE +set(WITH_FMT_VERSION "8.1.1" CACHE STRING "build with fmt version") find_package(fmt ${WITH_FMT_VERSION} QUIET) if(fmt_FOUND) -- 2.39.5