microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b708aeaaf44416bba84b87206fb550196fc60d5a

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/externals/sentencepieceproject.cmake

18lines · modecode

1FetchContent_Declare(
2 sentencepieceproject
3 GIT_REPOSITORY https://github.com/google/sentencepiece.git
4)
5
6FetchContent_GetProperties(sentencepieceproject)
7
8if(NOT sentencepieceproject_POPULATED)
9 FetchContent_Populate(sentencepieceproject)
10 add_subdirectory(${sentencepieceproject_SOURCE_DIR} ${sentencepieceproject_BINARY_DIR} EXCLUDE_FROM_ALL)
11endif()
12
13set(sentencepieceproject_INCLUDE_DIRS
14 ${sentencepieceproject_SOURCE_DIR}/third_party/protobuf-lite
15 ${sentencepieceproject_SOURCE_DIR}/src/builtin_pb
16 ${sentencepieceproject_SOURCE_DIR}/third_party
17 ${sentencepieceproject_SOURCE_DIR}/src
18 )
19