aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-05-18 08:51:56 +1000
committerfuzzard <fuzzard@kodi.tv>2024-06-22 14:06:06 +1000
commitf1589990e746eed557dde7f3904bccb5b47dab22 (patch)
tree0b6dc7dbe09815d1fb08dff1a0efe2da5cf3699f /cmake/scripts
parentf2a75cd78b697269b02661f1de637e6fac43fabc (diff)
[cmake] relocate rfc2822stamp into CPackConfigDEB
This function is only used in CPackConfigDEB, so move out of generic Macros.cmake
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/common/Macros.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake
index 57f5ef8712..319f63244e 100644
--- a/cmake/scripts/common/Macros.cmake
+++ b/cmake/scripts/common/Macros.cmake
@@ -542,16 +542,6 @@ macro(core_add_optional_subdirs_from_filelist pattern)
endforeach()
endmacro()
-# Generates an RFC2822 timestamp
-#
-# The following variable is set:
-# RFC2822_TIMESTAMP
-function(rfc2822stamp)
- execute_process(COMMAND date -R
- OUTPUT_VARIABLE RESULT)
- set(RFC2822_TIMESTAMP ${RESULT} PARENT_SCOPE)
-endfunction()
-
# Generates an user stamp from git config info
#
# The following variable is set: