aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-05-03 12:42:33 -0700
committerGarrett D'Amore <garrett@damore.org>2020-05-04 22:21:57 -0700
commit1a00f65db42d4c92eee28356daa08c9adf4408fe (patch)
tree8ab5a55782d9818434b30f3b8208e5af8e75f58f /CMakeLists.txt
parent87c782d6b073a75ed5df97fc89011c0c758787f0 (diff)
downloadnng-1a00f65db42d4c92eee28356daa08c9adf4408fe.tar.gz
nng-1a00f65db42d4c92eee28356daa08c9adf4408fe.tar.bz2
nng-1a00f65db42d4c92eee28356daa08c9adf4408fe.zip
fixes #1237 atomic library check is backwards
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2b78d4e0..700a0e08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -327,7 +327,7 @@ else ()
# libatomic map file.
#
# Arguably when using clang, compiler-rt might be better.
- nng_check_lib(__atomic_load_1 atomic NNG_HAVE_LIBATOMIC)
+ nng_check_lib(atomic __atomic_load_1 NNG_HAVE_LIBATOMIC)
nng_check_sym(AF_UNIX sys/socket.h NNG_HAVE_UNIX_SOCKETS)
nng_check_sym(backtrace_symbols_fd execinfo.h NNG_HAVE_BACKTRACE)