summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-01-24 00:08:02 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-01-24 00:08:02 +0400
commit939bfb039f9d0b204c51a370dac494c3f0ab2053 (patch)
tree50451e3cf0a63424b18d3e32045caa1f3c89970a /storage
parent5c8c4f4f8e4eab9c3117d8d9c817fe5d98eb9df8 (diff)
downloadmariadb-git-939bfb039f9d0b204c51a370dac494c3f0ab2053.tar.gz
Adding /EHsc flags when compiling on windows.
Required for mycat.cc modified: storage/connect/CMakeLists.txt
Diffstat (limited to 'storage')
-rw-r--r--storage/connect/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/CMakeLists.txt b/storage/connect/CMakeLists.txt
index 2593c612be3..e34661f3b14 100644
--- a/storage/connect/CMakeLists.txt
+++ b/storage/connect/CMakeLists.txt
@@ -54,6 +54,7 @@ SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c)
ELSE(!UNIX)
# Windows (manually add exception handling to the CONNECT project)
SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabwmi.cpp tabmac.cpp macutil.cpp)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
ENDIF(UNIX)