mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 04:11:39 +08:00
d3c432d955
* [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>
14 lines
502 B
Diff
14 lines
502 B
Diff
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)
|
|
|