cmake: bump up the required fmt version

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>
This commit is contained in:
Kefu Chai 2018-07-27 18:52:52 +08:00
parent 591167e0cc
commit b1c4c9e9a1

View 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()