summaryrefslogtreecommitdiff
path: root/hiredict-config.cmake.in
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 20:06:01 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:08:51 +0100
commit31d934d19bf82efdfc320fa7008008242a65332a (patch)
tree8e89bcc49941adcbe0314f1a6a8117c7f11a6c0f /hiredict-config.cmake.in
parent107f1c4cee2ac6534c536efc3affae5e417e01fe (diff)
all: rename output files
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'hiredict-config.cmake.in')
-rw-r--r--hiredict-config.cmake.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/hiredict-config.cmake.in b/hiredict-config.cmake.in
new file mode 100644
index 0000000..0339858
--- /dev/null
+++ b/hiredict-config.cmake.in
@@ -0,0 +1,13 @@
+@PACKAGE_INIT@
+
+set_and_check(hiredis_INCLUDEDIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+
+IF (NOT TARGET hiredis::@hiredis_export_name@)
+ INCLUDE(${CMAKE_CURRENT_LIST_DIR}/hiredis-targets.cmake)
+ENDIF()
+
+SET(hiredis_LIBRARIES hiredis::@hiredis_export_name@)
+SET(hiredis_INCLUDE_DIRS ${hiredis_INCLUDEDIR})
+
+check_required_components(hiredis)
+