diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 18:32:07 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 18:32:07 +0200 |
commit | b112c9dfaacbcb7c3548414c6f402114663223dc (patch) | |
tree | 8bfedd343939d05405ad1d9e6f17638a7861e793 | |
parent | 8988e471b543a45a1d80ec69b001656057f11141 (diff) | |
download | mariadb-git-b112c9dfaacbcb7c3548414c6f402114663223dc.tar.gz |
Fix Connect build with MSVC+Ninja
-rw-r--r-- | storage/connect/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/CMakeLists.txt b/storage/connect/CMakeLists.txt index 0100f80415d..5c1bdef4c5c 100644 --- a/storage/connect/CMakeLists.txt +++ b/storage/connect/CMakeLists.txt @@ -425,6 +425,7 @@ IF(MSVC) # Temporarily disable "conversion from size_t .." IF(CMAKE_SIZEOF_VOID_P EQUAL 8) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4267") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4267") ENDIF() SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996") string(REPLACE "/permissive-" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") |