]> git-server-git.apps.pok.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)
committerAbhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
Wed, 26 Jul 2023 08:24:34 +0000 (10:24 +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>
src/CMakeLists.txt

index 25af73a28aea034215e857675e354a56e83fdc40..89df571a21a2f50370a2fe7485d08cb88d0b1c38 100644 (file)
@@ -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)