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)
|
||
|
|