Skip to content
Snippets Groups Projects
Commit 1f2e47fe authored by Nick Zavaritsky's avatar Nick Zavaritsky
Browse files

Fix #1224: allow build to proceed if pthread_setname_np not found

parent 4c0ac25d
No related branches found
No related tags found
No related merge requests found
......@@ -26,11 +26,6 @@ function (do_pthread_checks)
${INCLUDE_MISC_PTHREAD_HEADERS}
int main() { pthread_set_name_np(pthread_self(), \"\"); }
" HAVE_PTHREAD_SET_NAME_NP)
if (NOT (HAVE_PTHREAD_SETNAME_NP OR
HAVE_PTHREAD_SETNAME_NP_1 OR
HAVE_PTHREAD_SET_NAME_NP))
message(FATAL_ERROR "No suitable function for setting thread names found")
endif ()
endfunction (do_pthread_checks)
do_pthread_checks()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment