From: Abhishek Lekshmanan Date: Wed, 26 Jul 2023 08:24:34 +0000 (+0200) Subject: cmake: ensure fmt lib is atleast 8.1.1 X-Git-Tag: v19.0.0~695^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eead42d4b1ec1bc1d7d2267b3ce97b8f34a7fb9b;p=ceph-ci.git 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 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 25af73a28ae..89df571a21a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -325,7 +325,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)