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