Fix mimalloc lib filename on Windows

This commit is contained in:
Kai Tamkun
2025-07-16 19:15:27 -07:00
parent cfe33ce99d
commit 84f95f7072

View File

@@ -31,15 +31,7 @@ if(ENABLE_VALGRIND)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_VALGRIND=ON)
endif()
if(WIN32)
if(DEBUG AND ENABLE_ASAN)
set(MIMALLOC_LIBRARY mimalloc-asan-static-debug)
elseif(DEBUG)
set(MIMALLOC_LIBRARY mimalloc-static-debug)
else()
set(MIMALLOC_LIBRARY mimalloc-static)
endif()
elseif(DEBUG)
if(DEBUG)
if (ENABLE_ASAN)
set(MIMALLOC_LIBRARY mimalloc-asan-debug)
else()