We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d201d7 commit b132d4dCopy full SHA for b132d4d
cmake/os/Windows.cmake
@@ -142,6 +142,11 @@ IF(MSVC)
142
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4800 /wd4805 /wd4996 /we4700 /we4311 /we4477 /we4302 /we4090 /wd4267 ")
143
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4800 /wd4805 /wd4996 /wd4291 /wd4577 /we4099 /we4700 /we4311 /we4477 /we4302 /we4090 /wd4267")
144
145
+ IF(MYSQL_MAINTAINER_MODE MATCHES "ERR")
146
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
147
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
148
+ ENDIF()
149
+
150
ENDIF()
151
152
# Always link with socket library
0 commit comments