diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-12-07 15:49:50 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-12-13 14:41:16 +0100 |
commit | 0bea727cac6b22af05e0ae68b02de6684c98667b (patch) | |
tree | b84a68c3c0282c084d448fb6bf562294a82d9c82 /examples/network/torrent/CMakeLists.txt | |
parent | 663c1b8827937562d714f85fa78b535896f726e7 (diff) |
CMake: Fix build on Windows with CMake 3.19
qt_setup_tool_path.bat did not have proper line endings on Windows with
CMake 3.19, breaking the invocation of tools that use the wrapper, for
example qmltyperegistrar.
The reason was that file(CONFIGURE) doesn't properly write line endings
with CMake 3.19. See upstream issue #21769.
Use configure_file with a proper input file to work around this issue.
Pick-to: 6.2
Fixes: QTBUG-98843
Change-Id: I2a4da15f306dc844cf83ca9721a77196c42af2ad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/network/torrent/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions