From 8249e67355e60246fb109f0d98d0b92834fd30e8 Mon Sep 17 00:00:00 2001 From: kevin1018 Date: Wed, 17 Jul 2019 19:05:06 +0800 Subject: Add install adapters header files --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c8c8071..30140bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,10 @@ INSTALL(TARGETS hiredis INSTALL(FILES hiredis.h read.h sds.h async.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hiredis) - + +INSTALL(DIRECTORY adapters + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hiredis) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/hiredis.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) -- cgit v1.2.3