pkgconfig: Fix for cross compilation (#1027)

exec_ and prefix must be overridden  in such a case.

Makes the .pc file more consistent with other projects.
This commit is contained in:
Rosen Penev 2019-09-17 12:46:55 -07:00 committed by Jordan Bayles
parent c97bd59ff2
commit 21e3d21243

View File

@ -1,5 +1,7 @@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: jsoncpp
Description: A C++ library for interacting with JSON