Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2019-09-23 03:00:23 +0300
committerorbea <orbea@riseup.net>2019-09-23 05:04:29 +0300
commit588910129c8523f7214e05bd7a2cd5095aad8b13 (patch)
tree6b6a9160aa30cd9e56d38d541a1b372ed0012a73 /cmake
parente42867f0a81a7bbe5f8b3c9dbfd2acca5e4b5f32 (diff)
cmake: Add a new spdlog.pc pkgconfig file.
Fixes https://github.com/gabime/spdlog/issues/1237.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/spdlog.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/spdlog.pc.in b/cmake/spdlog.pc.in
new file mode 100644
index 00000000..86f5905f
--- /dev/null
+++ b/cmake/spdlog.pc.in
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+includedir=${prefix}/include
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+
+Name: lib@PROJECT_NAME@
+Description: Fast C++ logging library.
+URL: https://github.com/gabime/@PROJECT_NAME@
+Version: @SPDLOG_VERSION@
+CFlags: -I${includedir}/@SPDLOG_CFLAGS@
+Libs: -L${libdir}/@PROJECT_NAME@ -l@PROJECT_NAME@