mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-03 14:09:31 +03:00
Merge branch 'dev' into dev3
This commit is contained in:
commit
4d61467328
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ if(CMAKE_C_COMPILER_ID MATCHES "Intel")
|
|||
list(APPEND mi_cflags -Wall)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "MSVC|Intel")
|
||||
# force C++ compilation with msvc or clang-cl to use modern C++ atomics
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "MSVC|Intel" OR MI_CLANG_CL)
|
||||
set(MI_USE_CXX "ON")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue