summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-01-28 12:13:05 -0800
committerGitHub <noreply@github.com>2020-01-28 12:13:05 -0800
commit669ac9d0c843f9ccf07d4969ff6bff75fafee01f (patch)
tree6075cb357e13342f6844dc9891d6c3c38c8e6f86 /CMakeLists.txt
parent0501c623c91344e54cb2775a91509650960789b1 (diff)
Safe allocation wrappers (#754)
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fcd8d4b..770e1a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,8 @@ ADD_LIBRARY(hiredis SHARED
net.c
read.c
sds.c
- sockcompat.c)
+ sockcompat.c
+ alloc.c)
SET_TARGET_PROPERTIES(hiredis
PROPERTIES