Fix pkgconfig when installing to a custom lib dir (#793)

* Respect overridden libdir in CMake

See: #767
This commit is contained in:
Michael Grunder 2020-04-23 11:11:55 -07:00 committed by GitHub
parent b484021859
commit 7e2ee7c38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
install_libdir=@CMAKE_INSTALL_LIBDIR@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
libdir=${exec_prefix}/${install_libdir}
includedir=${prefix}/include
pkgincludedir=${includedir}/hiredis