summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorLi Xinwei <1326710505@qq.com>2021-04-29 22:29:32 +0800
committerLi Xinwei <1326710505@qq.com>2021-04-29 23:09:06 +0800
commitebf91d1d13ddc058115f0062a499d0e39e0e957b (patch)
tree37a4537b4938e1e1bbba2b0d362fc1d1364bd03f /configure.cmake
parent2ecd0f4194dd23dd0917df81007c933cfcd4e6a5 (diff)
Fix wrong note "Using pthreads" and only show it for WASM
MSVC does not have pthreads. "QT_FEATURE_thread" should mean "Enable thread support". And I think this note is only meaningful for WASM. For other platforms, thread support should be enabled by default. amends 4972fdb350fe79e18b0413e74028cd9b9803f96b Change-Id: I5a4fc05219c9b2ff9c6e54fd444b4b94230727bb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake
index 743c319309..78d585f670 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -1131,8 +1131,8 @@ qt_configure_add_report_entry(
)
qt_configure_add_report_entry(
TYPE NOTE
- MESSAGE "Using pthreads"
- CONDITION QT_FEATURE_thread
+ MESSAGE "Enable thread support"
+ CONDITION QT_FEATURE_thread AND WASM
)
qt_configure_add_report_entry(
TYPE WARNING