diff --git a/cmake/targets/BuildMimalloc.cmake b/cmake/targets/BuildMimalloc.cmake index 3ce366a03a..cca03b18d8 100644 --- a/cmake/targets/BuildMimalloc.cmake +++ b/cmake/targets/BuildMimalloc.cmake @@ -4,7 +4,7 @@ register_repository( REPOSITORY oven-sh/mimalloc COMMIT - 1beadf9651a7bfdec6b5367c380ecc3fe1c40d1a + 7a4d7b8d18f8159a808aade63eb93ea6abd06924 ) set(MIMALLOC_CMAKE_ARGS @@ -31,13 +31,7 @@ if(ENABLE_VALGRIND) list(APPEND MIMALLOC_CMAKE_ARGS -DMI_VALGRIND=ON) endif() -if(WIN32) - if(DEBUG) - set(MIMALLOC_LIBRARY mimalloc-static-debug) - else() - set(MIMALLOC_LIBRARY mimalloc-static) - endif() -elseif(DEBUG) +if(DEBUG) set(MIMALLOC_LIBRARY mimalloc-debug) else() set(MIMALLOC_LIBRARY mimalloc)