mirror of
https://github.com/microsoft/GSL.git
synced 2025-03-20 04:27:51 -04:00
adding /EHsc for msvc cmake target gsl_test_config_noexcept
This commit is contained in:
parent
17ad4495fb
commit
3539bd8008
@ -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>:
|
||||
|
Loading…
x
Reference in New Issue
Block a user