diff --git a/cmake/spdlog.pc.in b/cmake/spdlog.pc.in index 7ec33cee..9023ccec 100644 --- a/cmake/spdlog.pc.in +++ b/cmake/spdlog.pc.in @@ -1,13 +1,12 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include +includedir=@PKG_CONFIG_INCLUDEDIR@ +libdir=@PKG_CONFIG_LIBDIR@ -Name: @PROJECT_NAME@ +Name: libspdlog Description: Fast C++ logging library. -URL: https://github.com/gabime/spdlog.git -Version: @PROJECT_VERSION@ - -Requires: fmt +URL: https://github.com/gabime/@PROJECT_NAME@ +Version: @SPDLOG_VERSION@ +CFlags: -I${includedir} @PKG_CONFIG_DEFINES@ Libs: -L${libdir} -lspdlog -Cflags: -I${includedir} +Requires: fmt \ No newline at end of file