Skip to content

Commit

Permalink
[fix] add /EHsc to msvc command line
Browse files Browse the repository at this point in the history
  • Loading branch information
olegator77 committed May 19, 2018
1 parent dc27e0f commit 70df80a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ if(BUILD_SHARED_LIBS)
endif(BUILD_SHARED_LIBS)

if (MSVC)
add_compile_options (/wd4244 /wd4996 /wd4018 /MP)
# add_compile_options ("/MP")
add_compile_options (/wd4244 /wd4996 /wd4018 /MP /EHsc)
endif()


Expand Down

0 comments on commit 70df80a

Please sign in to comment.