From a66916719b89f30c92afeb6e9ce5a4c3a4d4c552 Mon Sep 17 00:00:00 2001 From: "hewei.it" Date: Wed, 23 Dec 2020 10:39:12 +0800 Subject: Add adapters/libhv --- examples/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples/CMakeLists.txt') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 49cd8d4..23b6a92 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -25,6 +25,12 @@ if (LIBEVENT) TARGET_LINK_LIBRARIES(example-libevent hiredis event) ENDIF() +FIND_PATH(LIBHV hv/hv.h) +IF (LIBHV) + ADD_EXECUTABLE(example-libhv example-libhv.c) + TARGET_LINK_LIBRARIES(example-libhv hiredis hv) +ENDIF() + FIND_PATH(LIBUV uv.h) IF (LIBUV) ADD_EXECUTABLE(example-libuv example-libuv.c) -- cgit v1.2.3