Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaku Kudo <taku@google.com>2020-05-08 17:32:50 +0300
committerTaku Kudo <taku@google.com>2020-05-08 17:32:50 +0300
commite66fd4a63c08e916e9bafae7cda137e3ba2911d3 (patch)
treef4c4314eac807abb1e8af778f53857b51e945841 /CMakeLists.txt
parentdf4e0f13e89a5cedbe8ccdef3a66e0a47908ae56 (diff)
Fixed windows build failure
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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)