aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/redis-plus-plus/fix-absolute-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/redis-plus-plus/fix-absolute-path.patch')
-rw-r--r--vcpkg/ports/redis-plus-plus/fix-absolute-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/redis-plus-plus/fix-absolute-path.patch b/vcpkg/ports/redis-plus-plus/fix-absolute-path.patch
new file mode 100644
index 0000000..38f0181
--- /dev/null
+++ b/vcpkg/ports/redis-plus-plus/fix-absolute-path.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4b99109..e45ca43 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -158,7 +158,7 @@ if(${redisEnableKeepAliveWithInterval_POS} GREATER -1)
+ endif()
+
+ set(REDIS_PLUS_PLUS_GENERATED_HEADER_DIR ${CMAKE_CURRENT_BINARY_DIR}/${REDIS_PLUS_PLUS_HEADER_DIR})
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/hiredis_features.h.in ${CMAKE_CURRENT_BINARY_DIR}/${REDIS_PLUS_PLUS_SOURCE_DIR}/hiredis_features.h)
++configure_file("${CMAKE_CURRENT_SOURCE_DIR}/hiredis_features.h.in" "${CMAKE_CURRENT_BINARY_DIR}/${REDIS_PLUS_PLUS_SOURCE_DIR}/hiredis_features.h")
+
+ # Build static library
+ option(REDIS_PLUS_PLUS_BUILD_STATIC "Build static library" ON)