mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 13:47:47 +00:00
Merge pull request #4679
7d21c9b5
CMakeLists.txt: only use libatomic when found (moneromooo-monero)
This commit is contained in:
commit
b9a5e47490
1 changed files with 3 additions and 1 deletions
|
@ -942,7 +942,9 @@ if(ANDROID)
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS AND NOT FREEBSD)
|
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})
|
if (ATOMIC_FOUND)
|
||||||
|
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_path(ZMQ_INCLUDE_PATH zmq.hpp)
|
find_path(ZMQ_INCLUDE_PATH zmq.hpp)
|
||||||
|
|
Loading…
Reference in a new issue