• Bjorn Svensson's avatar
    Additional include directory given by pkg-config (#1118) · 722e3409
    Bjorn Svensson authored
    * 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
    722e3409
README.md 33.1 KB