MSVC: /EHsc to silence a warning and maybe even improve performance
This commit is contained in:
parent
169809c458
commit
8e587e8b42
|
@ -91,6 +91,7 @@ endif()
|
|||
|
||||
if (MSVC)
|
||||
list(APPEND NXT_FLAGS "/std:c++14")
|
||||
list(APPEND NXT_FLAGS "/EHsc")
|
||||
list(APPEND NXT_INTERNAL_FLAGS "/W4")
|
||||
# Allow declarations hiding members as it is used all over NXT
|
||||
list(APPEND NXT_INTERNAL_FLAGS "/wd4458")
|
||||
|
|
Loading…
Reference in New Issue