diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-15 12:23:51 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-15 20:05:25 +0200 |
commit | 67567b8e0d15445aef7ce491930a6c1290122fac (patch) | |
tree | 31f6f1ca88299518658e89c466cdb4de6022f928 /cmake/qt.toolchain.cmake.in | |
parent | 75c4fd52d126fcdd7dcc211096e90633594f872d (diff) |
CMake: Conditionally set compiler in generated toolchain file
Public consumers of the qt toolchain file will most likely not have
their compilers in the same location where they were on the Qt build
machine.
Only set the compiler paths if none was set already, and the paths
actually exist.
This seems to become a trend in the generated toolchain file, and is
only a stop-gap solution.
A proper solution (two different toolchain files) may follow.
Task-number: QTBUG-83999
Change-Id: I7a603af447333a45c65b98e299ee109932d16517
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/qt.toolchain.cmake.in')
0 files changed, 0 insertions, 0 deletions