summaryrefslogtreecommitdiff
path: root/deps/hiredis/hiredis-config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'deps/hiredis/hiredis-config.cmake.in')
-rw-r--r--deps/hiredis/hiredis-config.cmake.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/hiredis/hiredis-config.cmake.in b/deps/hiredis/hiredis-config.cmake.in
new file mode 100644
index 000000000..98851dcee
--- /dev/null
+++ b/deps/hiredis/hiredis-config.cmake.in
@@ -0,0 +1,13 @@
+@PACKAGE_INIT@
+
+set_and_check(hiredis_INCLUDEDIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+
+IF (NOT TARGET hiredis::hiredis)
+ INCLUDE(${CMAKE_CURRENT_LIST_DIR}/hiredis-targets.cmake)
+ENDIF()
+
+SET(hiredis_LIBRARIES hiredis::hiredis)
+SET(hiredis_INCLUDE_DIRS ${hiredis_INCLUDEDIR})
+
+check_required_components(hiredis)
+