diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ed9cb1f..e4cf7ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -121,6 +121,11 @@ if(HAVE_STRSEP) | |||
121 | add_definitions(-DHAVE_STRSEP) | 121 | add_definitions(-DHAVE_STRSEP) |
122 | endif() | 122 | endif() |
123 | 123 | ||
124 | check_function_exists(timegm HAVE_TIMEGM) | ||
125 | if(HAVE_TIMEGM) | ||
126 | add_definitions(-DHAVE_TIMEGM) | ||
127 | endif() | ||
128 | |||
124 | check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) | 129 | check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) |
125 | if(HAVE_ARC4RANDOM_BUF) | 130 | if(HAVE_ARC4RANDOM_BUF) |
126 | add_definitions(-DHAVE_ARC4RANDOM_BUF) | 131 | add_definitions(-DHAVE_ARC4RANDOM_BUF) |