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

13 lines
474 B
Diff
Raw Normal View History

2021-03-15 15:01:47 +00:00
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@