forked from microsoft/GSL
adding /EHsc for msvc cmake target gsl_test_config_noexcept
This commit is contained in:
@@ -135,6 +135,7 @@ add_library(gsl_tests_config_noexcept INTERFACE)
|
||||
if(MSVC) # MSVC or simulating MSVC
|
||||
target_compile_options(gsl_tests_config_noexcept INTERFACE
|
||||
${GSL_CPLUSPLUS_OPT}
|
||||
/EHsc
|
||||
/W4
|
||||
/WX
|
||||
$<$<CXX_COMPILER_ID:MSVC>:
|
||||
|
Reference in New Issue
Block a user