From 1a00f65db42d4c92eee28356daa08c9adf4408fe Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 3 May 2020 12:42:33 -0700 Subject: fixes #1237 atomic library check is backwards --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3-70-g09d2