summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2019-08-09 03:40:05 -0400
committerGitHub <noreply@github.com>2019-08-09 03:40:05 -0400
commit9414207002771d2caea82f2711e19ae4f541f155 (patch)
tree283142025454f9fc08ff8a886471e043a8011e95
parentc259f9059dd00c3c55170174b4b1feeac4a994c1 (diff)
parent8249e67355e60246fb109f0d98d0b92834fd30e8 (diff)
Merge pull request #688 from kevin1018/patch-1
Add install adapters header files
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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)