fix: update mimalloc repository and enforce C mode
This commit is contained in:
parent
b30b7f641f
commit
d5c7ea29f9
2 changed files with 9 additions and 5 deletions
|
|
@ -16,16 +16,20 @@ if(WIN32)
|
|||
endif()
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
mimalloc
|
||||
GIT_REPOSITORY https://github.com/microsoft/mimalloc.git
|
||||
GIT_TAG v3.1.5
|
||||
GIT_REPOSITORY https://pallas.t0byte.com/PallasDev/mimalloc.git
|
||||
GIT_TAG main
|
||||
)
|
||||
|
||||
set(MI_OVERRIDE OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_SHARED OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_STATIC ON CACHE BOOL "" FORCE)
|
||||
set(MI_USE_CXX OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_OBJECT OFF CACHE BOOL "" FORCE)
|
||||
|
||||
FetchContent_MakeAvailable(mimalloc)
|
||||
|
||||
|
||||
add_subdirectory(Source/DrangPlatform)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue