diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-13 17:47:56 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-19 17:20:14 +0200 |
| commit | 475ac94374f0b4bc7d63e7957f02a51b88ca17ee (patch) | |
| tree | 93f4da5f806866783a4bb97d69ee1d93c4a91f05 /src/corelib/thread/qthreadpool.cpp | |
| parent | 857264715ad6978c27dc2889e625fb6e3dffd525 (diff) | |
CMake: Fix no_prefix feature to take into account the staging prefix
Instead of complicating the condition even more, just use the value of
QT_WILL_INSTALL which is determined in QtSetup before configure.cmake
is loaded.
The AUTODETECT part is needed to ensure that
-developer-build
implies -no-prefix.
The CONDITION part is needed so that
-extprefix /tmp/sysroot -no-prefix
correctly errors out saying that this can't be a non-prefix build,
unless
-extprefix ${qtbase_build_dir} -no-prefix
is passed.
Pick-to: 6.2 6.3
Change-Id: Ie4f5a91281bf2fbe1bd0744de05d57f43fe992e7
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions
