Warn about WinRT only on WIN32

Amends 040aef5b2f which removed the MSVC
condition.

By testing for WIN32 all compilers are taken into consideration.

Change-Id: I8323fa8e866fe04063cfe30875e563524beae6c2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Cristian Adam 2022-12-04 20:13:52 +01:00
parent 31973f3ff3
commit 676506a3d5

View File

@ -1012,5 +1012,5 @@ qt_configure_add_report_entry(
qt_configure_add_report_entry(
TYPE WARNING
MESSAGE "Basic cpp/winrt support missing. Some features might not be available."
CONDITION NOT QT_FEATURE_cpp_winrt
CONDITION WIN32 AND NOT QT_FEATURE_cpp_winrt
)