adding /EHsc for msvc cmake target gsl_test_config_noexcept
This commit is contained in:
1 parent
17ad4495fb
commit
3539bd8008
1 file changed
+1
@@ -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