cmake HAVE_LIBKSTAT examples

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

check_library_exists(kstat kstat_lookup "kstat.h" HAVE_LIBKSTAT)