Skip to content

Commit fc20d21

Browse files
Lunwen Hefacebook-github-bot
authored andcommitted
Fix build failure instroduced by #4227 (#4267)
Summary: Pull Request resolved: #4267 ghstack-source-id: 233791856 Reviewed By: kirklandsign Differential Revision: D59765823 fbshipit-source-id: 80d10fb5a87f164f9c107487247b6f8022293d33
1 parent d3c92de commit fc20d21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/models/llama2/runner/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ target_include_directories(
4242
)
4343

4444
if(EXECUTORCH_USE_TIKTOKEN)
45+
list(APPEND _llama_runner__srcs
46+
${CMAKE_CURRENT_SOURCE_DIR}/../tokenizer/tiktoken.cpp
47+
)
4548
list(APPEND _llama_runner__srcs
4649
${CMAKE_CURRENT_SOURCE_DIR}/../tokenizer/llama_tiktoken.cpp
4750
)

0 commit comments

Comments
 (0)