JulNadeauCA/libagar
CMakeChecks.cmake
:780
check_c_source_compiles("
#include <time.h>
int
main(int argc, char *argv[])
{
struct timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);
#ifdef __FreeBSD__
clock_gettime(CLOCK_SECOND, &ts);
#endif
return (0);
}
" HAVE_CLOCK_GETTIME_IN_LIBRT)