ceph/cmake/modules
Kefu Chai 8df0e40b46 cmake: require 4.0.0 <= libfmt-dev < 5.0.0
FMT_VERSION is now living in fmt/core.h in libfmt >= 5.0, so we cannot
parse fmt/format.h for libfmt's version anymore. also we don't need
Findfmt.cmake now. because libfmt-dev 4.0 and up is required by seastar,
also it's libfmt-dev 3.x's cmake module which fails to offer fmt::fmt
target. in other words, it's safe to drop libfmt 3.x support. but 5.0.0
is not compatible with seastar, we will have failures like:

In file included from
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/aligned_buffer.hh:25:0,
                 from
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/reactor.hh:26,
                 from
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/alien.hh:35,
                 from
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/src/core/alien.cc:23:
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/print.hh:
In function 'seastar::sstring seastar::format(const char*, A&& ...)':
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/print.hh:135:10:
error: 'MemoryWriter' is not a member of 'fmt'
     fmt::MemoryWriter out;
          ^~~~~~~~~~~~
/home/smithfarm/src/ceph/smithfarm/ceph/src/seastar/include/seastar/core/print.hh:136:5:
error: 'out' was not declared in this scope
     out.write(fmt, std::forward<A>(a)...);
     ^~~

so, we should build libfmt even if we have libfmt-dev 5.x

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-02 22:14:03 +08:00
..
AddCephTest.cmake cmake: find python2 interpreter for gtest-parallel 2018-07-09 21:09:18 +08:00
BuildBoost.cmake cmake: remove workarounds for supporting cmake 2.x 2018-07-07 01:24:02 +08:00
Buildc-ares.cmake cmake: build c-ares if it's not found or not new enough 2018-07-25 13:13:45 +08:00
BuildDPDK.cmake cmake: specify missing settings for dpdk 2018-05-06 15:26:14 +08:00
BuildFIO.cmake cmake: sync up with upstream FIO 2018-07-25 22:47:20 +08:00
Buildgperftools.cmake cmake,make-dist: build gperftools if WITH_STATIC_LIBSTDCXX 2018-07-29 21:25:52 +08:00
BuildRocksDB.cmake cmake: link against libsnappy.a if WITH_STATIC_LIBSTDCXX 2018-07-29 01:44:18 +08:00
BuildSPDK.cmake cmake: update BuildSPDK for spdk-18.05 2018-06-14 09:34:01 +08:00
CheckCxxAtomic.cmake cmake: should link against libatomic if libcxx/libstdc++ does not offer atomic ops 2018-07-10 01:37:00 +08:00
CheckYasm.cmake cmake: extract Yasm check into a module 2018-07-28 16:53:10 +08:00
CTags.cmake
Distutils.cmake
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
Findc-ares.cmake cmake: require 4.0.0 <= libfmt-dev < 5.0.0 2018-08-02 22:14:03 +08:00
FindCUnit.cmake
FindCython.cmake cmake: cleanup FindCython.cmake 2018-07-09 17:13:56 +08:00
Finddpdk.cmake cmake: Finddpdk: add dpdk::${component} libs 2018-07-22 09:55:23 +08:00
Findfcgi.cmake cmake: remove stale comments 2018-06-28 13:21:02 +08:00
Findfio.cmake
Findfmt.cmake cmake: require 4.0.0 <= libfmt-dev < 5.0.0 2018-08-02 22:14:03 +08:00
Findfuse.cmake
Findgperftools.cmake cmake: import allocator libraries in a better way 2018-07-26 15:16:48 +08:00
FindJeMalloc.cmake cmake: fix a cmake error when with -DALLOCATOR=jemalloc. 2018-08-02 16:38:53 +08:00
Findkeyutils.cmake cmake: extract mount.ceph into src/mount 2018-07-28 16:53:10 +08:00
Findleveldb.cmake
FindLTTngUST.cmake
FindLZ4.cmake
FindNSPR.cmake
FindNSS.cmake
FindOATH.cmake cmake: cmake: oath lives in liboath 2018-06-10 16:21:41 +02:00
FindOpenLdap.cmake
FindPython3Interp.cmake
FindPython3Libs.cmake
Findqatzip.cmake compressor: add QAT support 2018-04-18 12:05:44 +08:00
Findrdmacm.cmake cmake: extract the RDMA libraries interface properties out 2018-06-28 23:26:28 +08:00
Findrocksdb.cmake cmake: fix find system rockdb 2018-06-07 14:19:41 +03:00
Findsnappy.cmake cmake: link against libsnappy.a if WITH_STATIC_LIBSTDCXX 2018-07-29 01:44:18 +08:00
FindStdFilesystem_test.cc cmake: extract std::filesystem linkage checking into module 2018-07-29 20:25:32 +08:00
FindStdFilesystem.cmake cmake: extract std::filesystem linkage checking into module 2018-07-29 20:25:32 +08:00
Findudev.cmake
Finduuid.cmake
Findverbs.cmake cmake: extract the RDMA libraries interface properties out 2018-06-28 23:26:28 +08:00
Findxfs.cmake
Findxio.cmake
Findzfs.cmake
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
patch-dpdk-conf.sh cmake: specify missing settings for dpdk 2018-05-06 15:26:14 +08:00
SIMDExt.cmake