]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: build fmt submodule if libfmt is not found
authorKefu Chai <kchai@redhat.com>
Thu, 21 Mar 2019 04:07:10 +0000 (12:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 21 Mar 2019 07:11:33 +0000 (15:11 +0800)
the recent seastar dropped fmt submodule, so we need to build from our
own fmt submodule.

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

index 1b1f19d464e028d036efd8592f93595a35ae9271..39fbc1c336a2a1ebd1219fbb0b330ef86530ed5f 100644 (file)
@@ -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)