CmakeLists.txt: add -pthread to pkg-config

This commit is contained in:
gabime 2019-10-04 21:56:17 +03:00
parent cf2bf488a2
commit fb70eca0a3

View File

@ -8,7 +8,6 @@ Description: Fast C++ logging library.
URL: https://github.com/gabime/@PROJECT_NAME@ URL: https://github.com/gabime/@PROJECT_NAME@
Version: @SPDLOG_VERSION@ Version: @SPDLOG_VERSION@
CFlags: -I${includedir} @PKG_CONFIG_DEFINES@ CFlags: -I${includedir} @PKG_CONFIG_DEFINES@
Libs: -L${libdir} -lspdlog Libs: -L${libdir} -lspdlog -pthread
Libs.private: -lpthread
Requires: @PKG_CONFIG_REQUIRES@ Requires: @PKG_CONFIG_REQUIRES@