diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2021-03-11 04:01:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 14:01:27 -0600 |
| commit | d3c432d955df8768f9c3b88f2fb96dd10644a305 (patch) | |
| tree | c65552f6e688a72f594372732e84dab97e7ce729 /ports/hiredis/fix-include-path.patch | |
| parent | c3c77073f8716121521a38a60be700824f5a9939 (diff) | |
| download | vcpkg-d3c432d955df8768f9c3b88f2fb96dd10644a305.tar.gz vcpkg-d3c432d955df8768f9c3b88f2fb96dd10644a305.zip | |
[hiredis] Fix include path (#16512)
* [hiredis] Fix include path
* Update versions
* Update ports/hiredis/vcpkg.json
* Update versions/h-/hiredis.json
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/hiredis/fix-include-path.patch')
| -rw-r--r-- | ports/hiredis/fix-include-path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/hiredis/fix-include-path.patch b/ports/hiredis/fix-include-path.patch new file mode 100644 index 000000000..8bfeae09d --- /dev/null +++ b/ports/hiredis/fix-include-path.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7eafeb8..623c586 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -49,7 +49,7 @@ IF(WIN32 OR MINGW) + TARGET_LINK_LIBRARIES(hiredis PRIVATE ws2_32) + ENDIF() + +-TARGET_INCLUDE_DIRECTORIES(hiredis PUBLIC $<INSTALL_INTERFACE:.> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>) ++TARGET_INCLUDE_DIRECTORIES(hiredis PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>) + + CONFIGURE_FILE(hiredis.pc.in hiredis.pc @ONLY) + |
