Skip to content

Commit aa0297c

Browse files
committed
Update cmake for snmalloc
1 parent 129161b commit aa0297c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ if (ENABLE_SNMALLOC_STATIC)
118118
set(SNMALLOC_HEADER_ONLY_LIBRARY ON)
119119

120120
add_definitions(-DUSE_SNMALLOC)
121+
add_definitions(-DSNMALLOC_USE_WAIT_ON_ADDRESS=1)
121122
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/third_party/snmalloc EXCLUDE_FROM_ALL)
122123

123124
link_libraries(snmalloc)

0 commit comments

Comments
 (0)