From 00653d7f575a42dd824d5cea638c15d4a8c56d95 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Mon, 15 Jul 2013 13:42:50 +0200 Subject: [PATCH] Windows, compilation : restore support for erxceptions (fixes warnings in Innodb code) --- cmake/os/Windows.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake index 42ddb12bf37..254d9f6d946 100644 --- a/cmake/os/Windows.cmake +++ b/cmake/os/Windows.cmake @@ -80,10 +80,6 @@ IF(MSVC) STRING(REPLACE "/MD" "/MT" "${flag}" "${${flag}}") ENDFOREACH() - # Remove support for exceptions - FOREACH(flag CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_INIT) - STRING(REPLACE "/EHsc" "" "${flag}" "${${flag}}") - ENDFOREACH() # Fix CMake's predefined huge stack size FOREACH(type EXE SHARED MODULE)