mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 23:19:31 +03:00
Fix compiler detection
This commit is contained in:
parent
6c5039bad1
commit
80aeb1bd1d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND mi_libraries psapi shell32 user32 bcrypt)
|
list(APPEND mi_libraries psapi shell32 user32 bcrypt)
|
||||||
else()
|
else()
|
||||||
if(NOT ${CC} MATCHES "android")
|
if(NOT ${CMAKE_C_COMPILER} MATCHES "android")
|
||||||
list(APPEND mi_libraries pthread)
|
list(APPEND mi_libraries pthread)
|
||||||
find_library(LIBRT rt)
|
find_library(LIBRT rt)
|
||||||
if(LIBRT)
|
if(LIBRT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue