cmake HAVE_PTHREADS_FLAG examples

libcheck/check CMakeLists.txt :248

check_c_compiler_flag("-pthread" HAVE_PTHREADS_FLAG)