summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-06-27 20:55:17 -0700
committerGarrett D'Amore <garrett@damore.org>2019-06-27 20:55:17 -0700
commit3e8522a8c766deeb97158cdeb2cd35470063f35f (patch)
tree93fab63621f66b3700fa148756896aa21efefdfc /CMakeLists.txt
parentcdedbcd904a3fadce10aecb4fbba5f293099be65 (diff)
downloadnng-3e8522a8c766deeb97158cdeb2cd35470063f35f.tar.gz
nng-3e8522a8c766deeb97158cdeb2cd35470063f35f.tar.bz2
nng-3e8522a8c766deeb97158cdeb2cd35470063f35f.zip
fixes #956 pthread_atfork error on Arm processor
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2a7d699..fca3e7ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -334,6 +334,7 @@ else ()
nng_check_lib (rt clock_gettime NNG_HAVE_CLOCK_GETTIME)
nng_check_lib (pthread sem_wait NNG_HAVE_SEMAPHORE_PTHREAD)
+ nng_check_lib (pthread pthread_atfork NNG_HAVE_PTHREAD_ATFORK_PTHREAD)
nng_check_lib (nsl gethostbyname NNG_HAVE_LIBNSL)
nng_check_lib (socket socket NNG_HAVE_LIBSOCKET)