cmake HAVE_LPTHREAD examples

cburstedde/p4est cmake/config.cmake :72

check_symbol_exists(pthread_create pthread.h HAVE_LPTHREAD)