mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Disable thread safety annotations on AppleClang
This commit is contained in:
parent
b2bd555965
commit
a75015bc64
1 changed files with 2 additions and 1 deletions
|
@ -156,7 +156,8 @@ if (NOT MSVC_VERSION)
|
|||
add_compile_options(-Wno-unused-function -Wno-deprecated-declarations -Wno-unknown-pragmas)
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
# STREQUAL because AppleClang's libc++ doesn't yet support thread safety annotations
|
||||
add_compile_options(-Wthread-safety)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue