diff --git a/cmake/targets/BuildMimalloc.cmake b/cmake/targets/BuildMimalloc.cmake index 5a66deeb70..bed2053b4e 100644 --- a/cmake/targets/BuildMimalloc.cmake +++ b/cmake/targets/BuildMimalloc.cmake @@ -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()