adding /EHsc for msvc cmake target gsl_test_config_noexcept

This commit is contained in:
Jordan Maples [MSFT] 2019-12-13 13:56:42 -08:00
parent 17ad4495fb
commit 3539bd8008

View File

@ -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>: