diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-07-02 08:58:55 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-07-02 15:05:32 +0200 |
commit | c72b7b8e5e530fbd03b704380940f5fa86e5341d (patch) | |
tree | 3c390b39b9c6ad7f22981f2366aae0031b3300cf /cmake/QtConfig.cmake.in | |
parent | 87201ff7122fda45e069c0ca32a16e5ef4e0ceb9 (diff) |
Revert "Make toolchain inspection more robust"
This reverts commit 7c62caa3555d247be569102d8f01b3e7ae362b8a.
Certain toolchain files cannot be read in CMake script mode with CMake
versions >= 3.20.
For example, the vcpkg toolchain file overrides add_executable, and
that fails with CMake 3.20:
CMake Error at D:/dev_tools/vcpkg/scripts/buildsystems/vcpkg.cmake:662 (function):
Built-in flow control command "add_executable" cannot be overridden.
Pick-to: 6.2
Fixes: QTBUG-93627
Change-Id: Ib6e6352dff50b9684dcf81401d138e27e16292c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtConfig.cmake.in')
0 files changed, 0 insertions, 0 deletions