File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ target_include_directories(
82
82
tokenizers
83
83
PUBLIC
84
84
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
85
+ $< INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} /pytorch/tokenizers>
85
86
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /third-party/sentencepiece>
86
87
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /third-party/sentencepiece/src>
87
88
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /third-party/re2>
@@ -190,6 +191,12 @@ install(
190
191
PATTERN "*.h"
191
192
)
192
193
194
+ install (
195
+ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /third-party/sentencepiece/src/
196
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /pytorch/tokenizers
197
+ FILES_MATCHING
198
+ PATTERN "sentencepiece_processor.h"
199
+ )
193
200
install (
194
201
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /third-party/json/single_include/
195
202
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
You can’t perform that action at this time.
0 commit comments