diff options
Diffstat (limited to 'cmake/scripts/common/ArchSetup.cmake')
| -rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index 4704193..07ce6d4 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake | |||
| @@ -122,6 +122,10 @@ check_function_exists(localtime_r HAVE_LOCALTIME_R) | |||
| 122 | if(HAVE_LOCALTIME_R) | 122 | if(HAVE_LOCALTIME_R) |
| 123 | list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1) | 123 | list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1) |
| 124 | endif() | 124 | endif() |
| 125 | check_function_exists(gmtime_r HAVE_GMTIME_R) | ||
| 126 | if(HAVE_GMTIME_R) | ||
| 127 | list(APPEND SYSTEM_DEFINES -DHAVE_GMTIME_R=1) | ||
| 128 | endif() | ||
| 125 | if(HAVE_INTTYPES_H) | 129 | if(HAVE_INTTYPES_H) |
| 126 | list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1) | 130 | list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1) |
| 127 | endif() | 131 | endif() |
