CMake: Warn that not all WASM tests might build without threads
Change-Id: I89971db45f30cebcfb122909ab2434a55b75e2a0 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit d7ea0ea95f9e3663c856b3c7dd515447f4d65b91) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0bc3457257
commit
b773eeee27
@ -1466,6 +1466,11 @@ qt_configure_add_report_entry(
|
||||
MESSAGE "You should use the recommended Emscripten version ${QT_EMCC_RECOMMENDED_VERSION} with this Qt. You have ${EMCC_VERSION}."
|
||||
CONDITION WASM AND NOT ${EMCC_VERSION} MATCHES ${QT_EMCC_RECOMMENDED_VERSION}
|
||||
)
|
||||
qt_configure_add_report_entry(
|
||||
TYPE WARNING
|
||||
MESSAGE "Some tests might fail to build when targeting WASM without -feature-thread."
|
||||
CONDITION WASM AND QT_BUILD_TESTS AND NOT QT_FEATURE_thread
|
||||
)
|
||||
qt_configure_add_report_entry(
|
||||
TYPE ERROR
|
||||
MESSAGE "Building Qt with C++20 is not supported with MSVC 2019."
|
||||
|
Loading…
x
Reference in New Issue
Block a user