cmake HAVE_LIBPERFSTAT examples

v6d-io/v6d cmake/FindLibUV.cmake :61

check_library_exists(perfstat perfstat_cpu "libperfstat.h" HAVE_LIBPERFSTAT)