summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-06-15 17:04:26 -0400
committerAllen Winter <allen.winter@kdab.com>2015-06-15 17:09:20 -0400
commita123adcabbbb583c0e5829d40f6bd8ad345207bc (patch)
treebd6aff418570551348a4de8ff373a8d44047d6ab /ConfigureChecks.cmake
parentb6e8243c2518367642075139b48d9854915576ba (diff)
downloadlibical-git-a123adcabbbb583c0e5829d40f6bd8ad345207bc.tar.gz
cmake discovery for localtime_r()
Diffstat (limited to 'ConfigureChecks.cmake')
-rwxr-xr-xConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 997cc54b..ba6ef1e7 100755
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -30,6 +30,7 @@ else()
check_function_exists(getpid HAVE_GETPID) #Unix <unistd.h>
check_function_exists(getpwent HAVE_GETPWENT) #Unix <sys/types.h>,<pwd.h>
check_function_exists(gmtime_r HAVE_GMTIME_R) #Unix <time.h>
+ check_function_exists(localtime_r HAVE_LOCALTIME_R) #Unix <time.h>
check_function_exists(mkdir HAVE_MKDIR) #Unix <sys/stat.h>,<sys/types.h>
check_function_exists(open HAVE_OPEN) #Unix <sys/stat.h>,<sys/types.h>,<fcntl.h>
check_function_exists(nanosleep HAVE_NANOSLEEP) #Unix <time.h>