]> 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:19:09 +0000 (10:19 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 12 Oct 2012 10:19:09 +0000 (10:19 +0000)
commit5e3bb3e9c8c104872f8f4fe489d2c5025326ce1b
tree5a621248a6732b05f1b5aaeec66dd16d8a3ff230
parent98eecb8605a06e30eff0ec0847c7e856a4adc916
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.1.x@869 632fc199-4ca6-4c93-a231-07263d6284db
CMakeLists.txt
cmakescripts/getdate.bat [deleted file]