]> 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 09:29:44 +0000 (09:29 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 12 Oct 2012 09:29:44 +0000 (09:29 +0000)
commitde924b85874d45b3309cfe1d9237aa94e2019444
tree749a348bbb0ff8c6713117a5628823bc6711af53
parentbc2e66cb433c04514f61d9b58be23e667bd8f8d8
parent75cf49798d20f0a1f6fa9524319c64d3ece5564a
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/trunk@867 632fc199-4ca6-4c93-a231-07263d6284db
CMakeLists.txt