diff --git a/features.cmake b/features.cmake index b4e76bc43..630e2326e 100644 --- a/features.cmake +++ b/features.cmake @@ -25,6 +25,8 @@ if(NOT MSVC) ) else() enable_cflags_if_supported( + /EHsc # Exception handling support + /GR # RTTI, for dynamic_cast /W4 ) endif()