From 9724d1481705abeed530b693a3d249612efb08ee Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 03:05:50 +0000 Subject: [PATCH] Fix: Uncomment mimalloc static object workaround to resolve linking failure Co-Authored-By: Jarred Sumner --- cmake/targets/BuildMimalloc.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/targets/BuildMimalloc.cmake b/cmake/targets/BuildMimalloc.cmake index 359f129bae..3484d6588b 100644 --- a/cmake/targets/BuildMimalloc.cmake +++ b/cmake/targets/BuildMimalloc.cmake @@ -51,9 +51,9 @@ endif() # Workaround for linker issue on macOS and Linux x64 # https://github.com/microsoft/mimalloc/issues/512 -# if(APPLE OR (LINUX AND NOT DEBUG)) -# set(MIMALLOC_LIBRARY CMakeFiles/mimalloc-obj.dir/src/static.c.o) -# endif() +if(APPLE OR (LINUX AND NOT DEBUG)) + set(MIMALLOC_LIBRARY CMakeFiles/mimalloc-obj.dir/src/static.c.o) +endif() register_cmake_command(