aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorAttila Mark <alian@i7>2020-01-24 19:39:01 -0800
committerVictor Zverovich <viz@fb.com>2020-01-26 19:48:14 -0800
commit6c30f41443629ddc647875887768d1af17815409 (patch)
tree64cee575f6a478bddd9e25949f0192ac3af171e4 /support
parent1acb73f970beaa16a67ad0515362692f1716d64a (diff)
downloadfmtlib-6c30f41443629ddc647875887768d1af17815409.tar.gz
Configure fmt.pc library name correctly.
Simplify getting library name. Add FMT_DEBUG_SUFFIX variable.
Diffstat (limited to 'support')
-rw-r--r--support/cmake/fmt.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/cmake/fmt.pc.in b/support/cmake/fmt.pc.in
index e935dc78..4e030afd 100644
--- a/support/cmake/fmt.pc.in
+++ b/support/cmake/fmt.pc.in
@@ -6,6 +6,6 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: fmt
Description: A modern formatting library
Version: @FMT_VERSION@
-Libs: -L${libdir} -lfmt
+Libs: -L${libdir} -l@FMT_LIB_NAME@
Cflags: -I${includedir}