void-packages/srcpkgs/spdlog/patches/fix-pkgconfig.patch

13 lines
474 B
Diff

Index: spdlog-1.8.2/cmake/spdlog.pc.in
===================================================================
--- spdlog-1.8.2.orig/cmake/spdlog.pc.in
+++ spdlog-1.8.2/cmake/spdlog.pc.in
@@ -8,6 +8,6 @@ Description: Fast C++ logging library.
URL: https://github.com/gabime/@PROJECT_NAME@
Version: @SPDLOG_VERSION@
CFlags: -I${includedir} @PKG_CONFIG_DEFINES@
-Libs: -L${libdir} -lspdlog -pthread
+Libs: -L${libdir} -lspdlog -lfmt -pthread
Requires: @PKG_CONFIG_REQUIRES@