We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6a620 commit c8bff72Copy full SHA for c8bff72
CMakeLists.txt
@@ -86,5 +86,5 @@ endif()
86
87
# Build tools
88
if(TOKENIZERS_BUILD_TOOLS)
89
- add_subdirectory(tools/tokenize_tool)
+ add_subdirectory(examples/tokenize_tool)
90
endif()
examples/tokenize_tool/CMakeLists.txt
@@ -8,3 +8,6 @@ file(GLOB source_files ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
8
get_filename_component(tool_name ${CMAKE_CURRENT_SOURCE_DIR} NAME)
9
add_executable(${tool_name} ${source_files})
10
target_link_libraries(${tool_name} PRIVATE tokenizers)
11
+target_include_directories(${tool_name} PRIVATE
12
+ ${CMAKE_SOURCE_DIR}/include/pytorch/tokenizers
13
+)
0 commit comments