diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:48:12 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:48:12 +0200 |
commit | 7ae7e5ef933f8f807867f5038344a87b49158003 (patch) | |
tree | e4da59e637f54e379b5972c021ffabf7a5579057 | |
parent | Merge pull request #2792 (diff) | |
parent | Do not require libatomic on FreeBSD (diff) | |
download | monero-7ae7e5ef933f8f807867f5038344a87b49158003.tar.xz |
Merge pull request #2793
3501ed1f Do not require libatomic on FreeBSD (Vasil Dimov)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 357719ffd..d63b50510 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |