diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-12-15 11:19:57 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-12-15 18:04:48 +0100 |
commit | 2a013fec1ccd5b262f0da29b3aa45771fd966294 (patch) | |
tree | d1c56b7d2576b1534e2b025bdcafd5526168bee1 /src/corelib | |
parent | 12511c9941adda77e891774f5c9a4ad2b0656b9c (diff) |
CMake: Fix errors about missing qt_setup_tool_path_command.bat.in
This amends commit 0bea727cac6b22af05e0ae68b02de6684c98667b or rather
reverts it and applies a different fix for QTBUG-98843.
Use file(WRITE) instead of configure_file or file(CONFIGURE). This
command doesn't have the line endings issues in CMake 3.19 (see
QTBUG-98843). It's not problematic that the .bat file gets a new
timestamp on every configuration step, since we don't add dependencies
on it.
Fixes: QTBUG-99223
Task-number: QTBUG-98843
Change-Id: Ibdcd0e4703bf6df42c6a6d0bb2f35c5144bbe30a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions