Commit 939bfb03 authored by Alexander Barkov's avatar Alexander Barkov

Adding /EHsc flags when compiling on windows.

Required for mycat.cc

modified:
  storage/connect/CMakeLists.txt
parent 5c8c4f4f
...@@ -54,6 +54,7 @@ SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c) ...@@ -54,6 +54,7 @@ SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c)
ELSE(!UNIX) ELSE(!UNIX)
# Windows (manually add exception handling to the CONNECT project) # Windows (manually add exception handling to the CONNECT project)
SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabwmi.cpp tabmac.cpp macutil.cpp) SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabwmi.cpp tabmac.cpp macutil.cpp)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
ENDIF(UNIX) ENDIF(UNIX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment