mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 09:49:26 -05:00
Merge pull request #2793
3501ed1f
Do not require libatomic on FreeBSD (Vasil Dimov)
This commit is contained in:
commit
7ae7e5ef93
@ -704,7 +704,7 @@ endif()
|
||||
if(ANDROID)
|
||||
set(ATOMIC libatomic.a)
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS AND NOT FREEBSD)
|
||||
find_library(ATOMIC atomic)
|
||||
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user