summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/ArchSetup.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2019-04-29 12:22:05 +0200
committermanuel <manuel@mausz.at>2019-04-29 12:22:05 +0200
commite317daf081a1048904fdf0b548946fa3ba6593a7 (patch)
tree285a58fe8c6b4a95c9a6020afbe7bcc9cb913ea7 /cmake/scripts/common/ArchSetup.cmake
parent483c0b88bfc1b798396c31a4dd2f5239399ce59e (diff)
downloadkodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.gz
kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.bz2
kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.zip
sync with upstream
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()