Skip to content

Commit

Permalink
add necessary annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
wtr0504 committed Nov 19, 2024
1 parent 05e9ed0 commit 631cee4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dependencies/cmake/mimalloc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ FetchContent_MakeAvailable(mimalloc)
if (BUILD_SHARED_LIBS)
add_library(dev_mimalloc ALIAS mimalloc)
else ()
# when building with static library ,make sure that link it as the first object file.
# https://github.com/microsoft/mimalloc?tab=readme-ov-file#static-override
add_library(dev_mimalloc ALIAS mimalloc-static)
endif()

0 comments on commit 631cee4

Please sign in to comment.