aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-09-16 11:24:09 -0700
committerVictor Zverovich <victor.zverovich@gmail.com>2019-09-16 17:18:21 -0700
commit79c923ba2c6e6c95c806a0b1fa4c0e78e7aa1e02 (patch)
tree9219653b0e96498f7b5e7c6e76eb1041842bd3d5 /support
parent5dc577c0644f19e047cac9efb894fe7bef792575 (diff)
downloadfmtlib-79c923ba2c6e6c95c806a0b1fa4c0e78e7aa1e02.tar.gz
fmt.pc.in: Fix for cross compilation
These variables get set to /usr/lib and /usr/include , which is totally wrong in a cross compilation environment. Changed to standard pkgconfig values consistent with most other ones.
Diffstat (limited to 'support')
-rw-r--r--support/cmake/fmt.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/cmake/fmt.pc.in b/support/cmake/fmt.pc.in
index 79de0b6d..e935dc78 100644
--- a/support/cmake/fmt.pc.in
+++ b/support/cmake/fmt.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: fmt
Description: A modern formatting library