aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch')
-rw-r--r--vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch b/vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch
new file mode 100644
index 0000000..d074821
--- /dev/null
+++ b/vcpkg/ports/hiredis/fix-cmake-conf-install-dir.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fca0ee8..b67888e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -125,7 +127,7 @@ export(EXPORT hiredis-targets
+ if(WIN32)
+ SET(CMAKE_CONF_INSTALL_DIR share/hiredis)
+ else()
+- SET(CMAKE_CONF_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/hiredis)
++ SET(CMAKE_CONF_INSTALL_DIR share/hiredis)
+ endif()
+ SET(INCLUDE_INSTALL_DIR include)
+ include(CMakePackageConfigHelpers)
+@@ -200,7 +204,7 @@ IF(ENABLE_SSL)
+ if(WIN32)
+ SET(CMAKE_CONF_INSTALL_DIR share/hiredis_ssl)
+ else()
+- SET(CMAKE_CONF_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/hiredis_ssl)
++ SET(CMAKE_CONF_INSTALL_DIR share/hiredis_ssl)
+ endif()
+ configure_package_config_file(hiredis_ssl-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/hiredis_ssl-config.cmake
+ INSTALL_DESTINATION ${CMAKE_CONF_INSTALL_DIR}