CMAKE_CXX_FLAGS is overwritten when later adding /Esc option.
This commit is contained in:
parent
272132a2a4
commit
6a7dc1b9c3
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ endfunction(buildExamples)
|
|||
|
||||
# Compiler specific stuff
|
||||
IF(MSVC)
|
||||
SET(CMAKE_CXX_FLAGS "/EHsc")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
|
||||
ENDIF(MSVC)
|
||||
|
||||
IF(WIN32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue