Skip to content

Commit 2075fd7

Browse files
committed
Fix PUBLIC issue
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 566396b commit 2075fd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ endif()
2222
# include aoti_run executable
2323
include(runner/aoti.cmake)
2424
if(TARGET aoti_run)
25-
target_link_libraries(aoti_run PUBLIC tokenizers)
25+
target_link_libraries(aoti_run tokenizers)
2626
target_include_directories(aoti_run PUBLIC runner/third-party/tokenizers/include)
2727
endif()

runner/aoti.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(Torch_FOUND)
2525
target_compile_options(aoti_run PUBLIC -DUSE_CUDA)
2626
endif()
2727
target_include_directories(aoti_run PRIVATE ${TORCHCHAT_ROOT}/runner)
28-
target_link_libraries(aoti_run PUBLIC "${TORCH_LIBRARIES}" m)
28+
target_link_libraries(aoti_run "${TORCH_LIBRARIES}" m)
2929
set_property(TARGET aoti_run PROPERTY CXX_STANDARD 17)
3030
endif()
3131

0 commit comments

Comments
 (0)