diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-08 12:53:19 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-08 12:53:19 +0200 |
commit | 8d1562077f3b6de6bf84c033b005aa6c64940430 (patch) | |
tree | 7e4b00e627d3f7d5fb9cef029ddee381ace10324 | |
parent | Merge pull request #1674 (diff) | |
parent | cmake set atomic for android (diff) | |
download | monero-8d1562077f3b6de6bf84c033b005aa6c64940430.tar.xz |
Merge pull request #1678
c833a39a cmake set atomic for android (MoroccanMalinois)
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 454a462f1..1bc6c4936 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -619,6 +619,9 @@ endif() list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS}) +if(ANDROID) + set(ATOMIC libatomic.a) +endif() if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32") find_library(ATOMIC atomic) list(APPEND EXTRA_LIBRARIES ${ATOMIC}) |