]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: ensure fmt lib is atleast 8.1.1
authorAbhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
Wed, 26 Jul 2023 08:24:34 +0000 (10:24 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Aug 2023 09:57:20 +0000 (11:57 +0200)
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 <abhishek.l@cern.ch>
(cherry picked from commit eead42d4b1ec1bc1d7d2267b3ce97b8f34a7fb9b)

src/CMakeLists.txt

index 0a841c5db37abd5aff96f3ceefa39d1d1de1551a..e1f90f72b2dbf7f3e7087f58bb571d27bea8c158 100644 (file)
@@ -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)