diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-03-10 22:24:59 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-03-22 18:26:19 +0100 |
commit | d4ae3d0db857766ba38656d2c5c523883e518879 (patch) | |
tree | ddbd1fc1e959d204065d9b4b603effe21d08c1eb /src/test | |
parent | Merge pull request #50510 from cbodley/wip-rgw-server-name (diff) | |
download | ceph-d4ae3d0db857766ba38656d2c5c523883e518879.tar.xz ceph-d4ae3d0db857766ba38656d2c5c523883e518879.zip |
fmt: remove FMT_HEADER_ONLY defines
a WITH_FMT_HEADER_ONLY cmake option controls which version of the
library to use. individual sources/targets shouldn't override that, or
they'll end up including/linking against both versions
Fixes: https://tracker.ceph.com/issues/58953
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fio/fio_librgw.cc | 2 | ||||
-rw-r--r-- | src/test/rgw/rgw_cr_test.cc | 2 | ||||
-rw-r--r-- | src/test/rgw/test_log_backing.cc | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/test/fio/fio_librgw.cc b/src/test/fio/fio_librgw.cc index b088b68f96c..bac4ff2daac 100644 --- a/src/test/fio/fio_librgw.cc +++ b/src/test/fio/fio_librgw.cc @@ -21,8 +21,6 @@ #include <semaphore.h> // XXX kill this? -#undef FMT_HEADER_ONLY -#define FMT_HEADER_ONLY 1 #include "fmt/include/fmt/format.h" #include "include/rados/librgw.h" diff --git a/src/test/rgw/rgw_cr_test.cc b/src/test/rgw/rgw_cr_test.cc index b53d0655923..dc5d25d23ae 100644 --- a/src/test/rgw/rgw_cr_test.cc +++ b/src/test/rgw/rgw_cr_test.cc @@ -6,8 +6,6 @@ #include <sstream> #include <string> -#undef FMT_HEADER_ONLY -#define FMT_HEADER_ONLY 1 #include <fmt/format.h> #include "include/rados/librados.hpp" diff --git a/src/test/rgw/test_log_backing.cc b/src/test/rgw/test_log_backing.cc index 4c81b2d57d2..e4109d535d1 100644 --- a/src/test/rgw/test_log_backing.cc +++ b/src/test/rgw/test_log_backing.cc @@ -18,8 +18,6 @@ #include <iostream> #include <string_view> -#undef FMT_HEADER_ONLY -#define FMT_HEADER_ONLY 1 #include <fmt/format.h> #include "include/types.h" |