* Update include example in README * Update pkg-config installed via CMake Gives the include directory to enable the use of: #include <hiredis/hiredis.h> but keeps the existing include dir. for backwards compatibility. Example: > pkg-config hiredis --cflags -D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include * Update pkg-config installed via Make Gives the include directory to enable the use of: #include <hiredis/hiredis.h> but keeps the existing include path for backwards compatibility. Example: > pkg-config hiredis --cflags -D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include
13 lines
385 B
PkgConfig
13 lines
385 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
install_libdir=@CMAKE_INSTALL_LIBDIR@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/${install_libdir}
|
|
includedir=${prefix}/include
|
|
pkgincludedir=${includedir}/hiredis
|
|
|
|
Name: hiredis
|
|
Description: Minimalistic C client library for Redis.
|
|
Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -lhiredis
|
|
Cflags: -I${pkgincludedir} -I${includedir} -D_FILE_OFFSET_BITS=64
|