diff --git a/cmake/QtInternalTargets.cmake b/cmake/QtInternalTargets.cmake index 6cb23780445..86d4dcf9b6e 100644 --- a/cmake/QtInternalTargets.cmake +++ b/cmake/QtInternalTargets.cmake @@ -272,11 +272,8 @@ endif() if(QT_FEATURE_intelcet) if(MSVC) - target_compile_options(PlatformCommonInternal INTERFACE - -guard:ehcont - ) target_link_options(PlatformCommonInternal INTERFACE - -guard:ehcont -CETCOMPAT + -CETCOMPAT ) else() target_compile_options(PlatformCommonInternal INTERFACE