summaryrefslogtreecommitdiff
path: root/hiredis_ssl-config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis_ssl-config.cmake.in')
-rw-r--r--hiredis_ssl-config.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/hiredis_ssl-config.cmake.in b/hiredis_ssl-config.cmake.in
index 9a283df..eeb19d1 100644
--- a/hiredis_ssl-config.cmake.in
+++ b/hiredis_ssl-config.cmake.in
@@ -2,6 +2,9 @@
set_and_check(hiredis_ssl_INCLUDEDIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+include(CMakeFindDependencyMacro)
+find_dependency(OpenSSL)
+
IF (NOT TARGET hiredis::hiredis_ssl)
INCLUDE(${CMAKE_CURRENT_LIST_DIR}/hiredis_ssl-targets.cmake)
ENDIF()