]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: bump up the required fmt version 23283/head
authorKefu Chai <kchai@redhat.com>
Fri, 27 Jul 2018 10:52:52 +0000 (18:52 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Jul 2018 10:52:54 +0000 (18:52 +0800)
seastar actually requires fmt 4.0.0 and up, as 3.0.2 does not offer
fmt/printf.h. see
https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst#400---2017-06-27
.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt

index e6cbc300c8e14edcb6d492c4b2e2c1f9a18ef253..0f179676d497564505a1147eac3db14244995a6a 100644 (file)
@@ -366,7 +366,7 @@ include_directories("${CMAKE_SOURCE_DIR}/src/dmclock/support/src")
 include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/src/googletest/googletest/include")
 
 if(WITH_SEASTAR)
-  find_package(fmt 3.0.2)
+  find_package(fmt 4.0.0)
   if(NOT fmt_FOUND)
     add_subdirectory(fmt)
   endif()