commit | f23760ffac85f4cee6206c654265df9b3a46bf90 | [log] [tgz] |
---|---|---|
author | Jose Luis Blanco-Claraco <jlblanco@ual.es> | Mon Oct 08 23:59:44 2018 +0200 |
committer | Brad King <brad.king@kitware.com> | Tue Oct 09 07:26:40 2018 -0400 |
tree | 3b2bf09d504326898c55887cb289195f934b02d5 | |
parent | fd02538974dd952a8639d371c2c0067d30d5469a [diff] |
string(TIMESTAMP): Fix unset TZ The logic added by commit v3.6.0-rc1~338^2 (CMake: Extend TIMESTAMP sub-commands with new unix time format specifier, 2016-02-16) to restore the `TZ` environment variable does not properly handle the case in which the variable was originally not set. Unset the variable in this case. Fixes: #18431