Check for clock_nanosleep so mtime compiles (linking is another matter)
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 19:04:43 +0000 (19:04 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 19:04:43 +0000 (19:04 +0000)
extras/buildsystem/cmake/include/config.cmake

index 5425556..a01f5c7 100644 (file)
@@ -78,6 +78,7 @@ find_library(HAVE_ICONV iconv)
 set( ICONV_CONST " " )
 
 check_library_exists(dl dlopen "" HAVE_DL_DLOPEN)
+check_library_exists(rt clock_nanosleep "" HAVE_CLOCK_NANOSLEEP)
 
 ###########################################################
 # Other check