diff options
author | redfish <redfish@galactica.pw> | 2016-07-12 00:25:56 -0400 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2016-07-12 00:25:56 -0400 |
commit | f07f120e5d831323c70fd6c99690712cc430f371 (patch) | |
tree | 3a161384c8fad28e9e0895b3321810f7f32d0606 /CMakeLists.txt | |
parent | cmake: ARM: clang: make warning non-fatal: inline asm (diff) | |
download | monero-f07f120e5d831323c70fd6c99690712cc430f371.tar.xz |
cmake: don't try to link with atomic on Apple
-latomic is necessary with Clang on Linux, but
apparently, on OSX it's not found.
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 365068516..0525c190d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -460,7 +460,7 @@ endif() list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS}) -if(NOT MINGW) +if(NOT MINGW AND NOT APPLE) find_library(ATOMIC atomic) list(APPEND EXTRA_LIBRARIES ${ATOMIC}) endif() |