update cmake/external_libs/sentencepiece.cmake.

fix windows import mindspore._c_dataengine error
This commit is contained in:
xiefangqi 2021-07-17 17:56:33 +00:00 committed by unknown
parent a455d81133
commit 12124fca28
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if(WIN32)
VER 0.1.92
LIBS sentencepiece sentencepiece_train
URL ${REQ_URL}
CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release -DSPM_USE_BUILTIN_PROTOBUF=ON
CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release -DSPM_USE_BUILTIN_PROTOBUF=ON -DSPM_ENABLE_SHARED=OFF
MD5 ${MD5}
)
else()