Problem: ZMQ_HAVE_PTHREAD_SET_AFFINITY not set correctly

Solution: Set correct define in CMake check and add the cmakedefine
This commit is contained in:
Stephan Senkbeil 2019-12-13 14:42:19 +01:00 committed by stephan
parent 3a3192e983
commit 8089529148
2 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,7 @@ int main(int argc, char *argv [])
return 0;
}
"
ZMQ_HAVE_PTHREAD_SETAFFINITY)
ZMQ_HAVE_PTHREAD_SET_AFFINITY)
set(CMAKE_REQUIRED_FLAGS ${SAVE_CMAKE_REQUIRED_FLAGS})
endmacro()

View File

@ -48,6 +48,7 @@
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_2
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_3
#cmakedefine ZMQ_HAVE_PTHREAD_SET_NAME
#cmakedefine ZMQ_HAVE_PTHREAD_SET_AFFINITY
#cmakedefine HAVE_ACCEPT4
#cmakedefine HAVE_STRNLEN