diff options
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 605cfde..ac3e5a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -234,6 +234,11 @@ if(HAVE_STRSEP) | |||
234 | add_definitions(-DHAVE_STRSEP) | 234 | add_definitions(-DHAVE_STRSEP) |
235 | endif() | 235 | endif() |
236 | 236 | ||
237 | check_function_exists(strtonum HAVE_STRTONUM) | ||
238 | if(HAVE_STRTONUM) | ||
239 | add_definitions(-DHAVE_STRTONUM) | ||
240 | endif() | ||
241 | |||
237 | check_function_exists(timegm HAVE_TIMEGM) | 242 | check_function_exists(timegm HAVE_TIMEGM) |
238 | if(HAVE_TIMEGM) | 243 | if(HAVE_TIMEGM) |
239 | add_definitions(-DHAVE_TIMEGM) | 244 | add_definitions(-DHAVE_TIMEGM) |