From c55e7f6d146985d00dc56a38a1e847de53efebdf Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 1 Dec 2024 14:08:53 +0200 Subject: [PATCH] Updated pkgconfig to version 2 --- cmake/spdlog.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/spdlog.pc.in b/cmake/spdlog.pc.in index 9023ccec..a77057ec 100644 --- a/cmake/spdlog.pc.in +++ b/cmake/spdlog.pc.in @@ -3,10 +3,10 @@ exec_prefix=${prefix} includedir=@PKG_CONFIG_INCLUDEDIR@ libdir=@PKG_CONFIG_LIBDIR@ -Name: libspdlog +Name: libspdlog-2 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 -Requires: fmt \ No newline at end of file +Libs: -L${libdir} -lspdlog-@SPDLOG_VERSION_MAJOR@.@SPDLOG_VERSION_MINOR@ +Requires: fmt