mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 00:38:52 +00: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)
|
if(ANDROID)
|
||||||
set(ATOMIC libatomic.a)
|
set(ATOMIC libatomic.a)
|
||||||
endif()
|
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)
|
find_library(ATOMIC atomic)
|
||||||
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user