ec08c2b94a
* Add CMake package configuration so hiredis can be more easily included in other projects. * Fixes hiredis_ssl such that it compiles and works in windows Co-authored-by: nrivera <nrivera@blizzard.com> Co-authored-by: Nick <heronr1@gmail.com>
14 lines
340 B
CMake
14 lines
340 B
CMake
@PACKAGE_INIT@
|
|
|
|
set_and_check(hiredis_ssl_INCLUDEDIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
|
|
IF (NOT TARGET hiredis::hiredis_ssl)
|
|
INCLUDE(${CMAKE_CURRENT_LIST_DIR}/hiredis_ssl-targets.cmake)
|
|
ENDIF()
|
|
|
|
SET(hiredis_ssl_LIBRARIES hiredis::hiredis_ssl)
|
|
SET(hiredis_ssl_INCLUDE_DIRS ${hiredis_ssl_INCLUDEDIR})
|
|
|
|
check_required_components(hiredis_ssl)
|
|
|