From: Kefu Chai Date: Thu, 21 Mar 2019 04:07:10 +0000 (+0800) Subject: cmake: build fmt submodule if libfmt is not found X-Git-Tag: v15.0.0~158^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebb7f32482945b7201743d70b40324b8c98ff4e2;p=ceph.git cmake: build fmt submodule if libfmt is not found the recent seastar dropped fmt submodule, so we need to build from our own fmt submodule. Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1b1f19d464e0..39fbc1c336a2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -282,7 +282,7 @@ if(WITH_SEASTAR) find_package(fmt 5.2.1 QUIET) if(NOT fmt_FOUND) message(STATUS "Could not find fmt, will build it") - add_subdirectory(seastar/fmt) + add_subdirectory(fmt) endif() find_package(c-ares 1.13.0 QUIET) if(NOT c-ares_FOUND)