File 3022-fix-fmt-check.patch of Package ceph-ceph-19.2.3

Description: Fix CMake check
Author: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Forwarded: no

--- a/src/seastar/cmake/CheckGcc107852.cmake
+++ b/src/seastar/cmake/CheckGcc107852.cmake
@@ -7,7 +7,7 @@
 # Seastar_PRIVATE_CXX_FLAGS, which is not applied to CMAKE_CXX_FLAGS, so
 # let's apply them explicitly.
 set (CMAKE_REQUIRED_FLAGS "-Werror=stringop-overflow -Werror=array-bound")
-set (CMAKE_REQUIRED_LIBRARIES fmt::fmt)
+set (CMAKE_REQUIRED_LIBRARIES fmt)
 
 # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852
 check_cxx_source_compiles ("
openSUSE Build Service is sponsored by