We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611c7f1 commit cba9a90Copy full SHA for cba9a90
CMakeLists.txt
@@ -119,7 +119,12 @@ endif()
119
option(USE_SNMALLOC "Link against snmalloc" ON)
120
if(USE_SNMALLOC)
121
set(SNMALLOC_BUILD_TESTING OFF)
122
- set(SNMALLOC_STATIC_LIBRARY_PREFIX "")
+ # It is necessary to override the cached value, to ensure that the snmalloc
123
+ # CMakeLists.txt picks up this change and applies it correctly.
124
+ set(SNMALLOC_STATIC_LIBRARY_PREFIX
125
+ ""
126
+ CACHE STRING "Prefix for snmalloc static library"
127
+ )
128
add_subdirectory(3rdparty/exported/snmalloc EXCLUDE_FROM_ALL)
129
endif()
130
0 commit comments