summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/ArchSetup.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/common/ArchSetup.cmake')
-rw-r--r--cmake/scripts/common/ArchSetup.cmake4
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)
122if(HAVE_LOCALTIME_R) 122if(HAVE_LOCALTIME_R)
123 list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1) 123 list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1)
124endif() 124endif()
125check_function_exists(gmtime_r HAVE_GMTIME_R)
126if(HAVE_GMTIME_R)
127list(APPEND SYSTEM_DEFINES -DHAVE_GMTIME_R=1)
128endif()
125if(HAVE_INTTYPES_H) 129if(HAVE_INTTYPES_H)
126 list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1) 130 list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1)
127endif() 131endif()