]> granicus.if.org Git - libjpeg-turbo/commit
Use a more robust method of obtaining the build timestamp on Windows. 'wmic os get...
authorDRC <dcommander@users.sourceforge.net>
Fri, 12 Oct 2012 10:18:37 +0000 (10:18 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 12 Oct 2012 10:18:37 +0000 (10:18 +0000)
commit75cf49798d20f0a1f6fa9524319c64d3ece5564a
tree407345d497b06c26350e53628b97d0d0e3e513ee
parent29d8f253f84e678d7f475a5418bfcd41b7baf74f
parent5e3bb3e9c8c104872f8f4fe489d2c5025326ce1b
Use a more robust method of obtaining the build timestamp on Windows.  'wmic os get LocalDateTime' will always return the timestamp in the format we want (YYYYMMDD), whereas date /t is sensitive to locale.  If wmic fails, then we fall back to using date /t, even though this means that the BUILD variable will end up in the incorrect format on some systems.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@868 632fc199-4ca6-4c93-a231-07263d6284db
CMakeLists.txt