diff options
author | Taku Kudo <taku@google.com> | 2020-05-08 17:32:50 +0300 |
---|---|---|
committer | Taku Kudo <taku@google.com> | 2020-05-08 17:32:50 +0300 |
commit | e66fd4a63c08e916e9bafae7cda137e3ba2911d3 (patch) | |
tree | f4c4314eac807abb1e8af778f53857b51e945841 /CMakeLists.txt | |
parent | df4e0f13e89a5cedbe8ccdef3a66e0a47908ae56 (diff) |
Fixed windows build failure
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bc0502a..96c6a5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ if (MSVC) string(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_MINSIZEREL}) string(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE}) string(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_RELWITHDEBINFO ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}) - add_definitions("/wd4267 /wd4244 /wd4305 /Zc:strictStrings /utf-8") + add_definitions("/wd4267 /wd4244 /wd4305 /wd2398 /Zc:strictStrings /utf-8") endif() if (APPLE) |