Commit 80895291 authored by Stephan Senkbeil's avatar Stephan Senkbeil Committed by stephan

Problem: ZMQ_HAVE_PTHREAD_SET_AFFINITY not set correctly

Solution: Set correct define in CMake check and add the cmakedefine
parent 3a3192e9
...@@ -273,7 +273,7 @@ int main(int argc, char *argv []) ...@@ -273,7 +273,7 @@ int main(int argc, char *argv [])
return 0; return 0;
} }
" "
ZMQ_HAVE_PTHREAD_SETAFFINITY) ZMQ_HAVE_PTHREAD_SET_AFFINITY)
set(CMAKE_REQUIRED_FLAGS ${SAVE_CMAKE_REQUIRED_FLAGS}) set(CMAKE_REQUIRED_FLAGS ${SAVE_CMAKE_REQUIRED_FLAGS})
endmacro() endmacro()
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_2 #cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_2
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_3 #cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_3
#cmakedefine ZMQ_HAVE_PTHREAD_SET_NAME #cmakedefine ZMQ_HAVE_PTHREAD_SET_NAME
#cmakedefine ZMQ_HAVE_PTHREAD_SET_AFFINITY
#cmakedefine HAVE_ACCEPT4 #cmakedefine HAVE_ACCEPT4
#cmakedefine HAVE_STRNLEN #cmakedefine HAVE_STRNLEN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment