From fb70eca0a31f65953551eb646039205a4d94172c Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 4 Oct 2019 21:56:17 +0300 Subject: [PATCH] CmakeLists.txt: add -pthread to pkg-config --- cmake/spdlog.pc.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/spdlog.pc.in b/cmake/spdlog.pc.in index 121478fd..861707c3 100644 --- a/cmake/spdlog.pc.in +++ b/cmake/spdlog.pc.in @@ -8,7 +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 -Libs.private: -lpthread +Libs: -L${libdir} -lspdlog -pthread Requires: @PKG_CONFIG_REQUIRES@