summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2020-03-14 18:08:15 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2020-03-14 18:08:15 +0100
commit674197e2ff3bd8c15e8784ba1f5ac3e73e7104a9 (patch)
treebe7a78b0e7c07de7a15da92a2565efcaba724554 /storage
parent45b9fa4a8a4936fb5a12079fcd88f5a15511c1c0 (diff)
downloadmariadb-git-674197e2ff3bd8c15e8784ba1f5ac3e73e7104a9.tar.gz
Disable set warnings as errors for Windows
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 7eedba08bee..f4b139aa705 100644
--- a/storage/connect/CMakeLists.txt
+++ b/storage/connect/CMakeLists.txt
@@ -73,6 +73,7 @@ ELSE(NOT UNIX)
tabwmi.cpp tabwmi.h tabmac.cpp tabmac.h macutil.cpp macutil.h)
# Add exception handling to the CONNECT project)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX-")
SET(IPHLPAPI_LIBRARY iphlpapi.lib)
IF(MSVC AND (CMAKE_CXX_COMPILER_ID MATCHES Clang))
# Connect does not work with clang-cl