aboutsummaryrefslogtreecommitdiff
path: root/mem/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-02-13 17:51:51 -0800
committer3gg <3gg@shellblade.net>2024-02-13 17:51:51 -0800
commite153be0be2fb8df6656292daab3fa59963c76737 (patch)
tree7cca3fc134553017cb3c259db1dca33c98556109 /mem/CMakeLists.txt
parent84bdfa4a23f5b8daa7921541b007518bc634be0f (diff)
Let memory allocators trap by default when attempting to allocate beyond capacity.
Diffstat (limited to 'mem/CMakeLists.txt')
-rw-r--r--mem/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mem/CMakeLists.txt b/mem/CMakeLists.txt
index 233d2be..e4b28c3 100644
--- a/mem/CMakeLists.txt
+++ b/mem/CMakeLists.txt
@@ -11,6 +11,7 @@ target_include_directories(mem PUBLIC
11 include) 11 include)
12 12
13target_link_libraries(mem 13target_link_libraries(mem
14 cassert
14 list) 15 list)
15 16
16target_compile_options(mem PRIVATE -Wall -Wextra) 17target_compile_options(mem PRIVATE -Wall -Wextra)