From 70df80a7658946169be044f7238139755681b597 Mon Sep 17 00:00:00 2001 From: Oleg Gerasimov Date: Sat, 19 May 2018 18:51:14 +0300 Subject: [PATCH] [fix] add /EHsc to msvc command line --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e44a78051d..41f38e389c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()