Skip to content

Commit

Permalink
修改cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
zjhellofss committed Jun 22, 2024
1 parent f9439c8 commit e43d937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ aux_source_directory(kuiper/source/op/kernels DIR_KERNEL)
aux_source_directory(kuiper/source/sampler DIR_SAMPLE)

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)

find_package(GTest REQUIRED)
add_library(llama SHARED ${DIR_TENSOR} ${DIR_BASE} ${DIR_OP} ${DIR_MODEL} ${DIR_KERNEL} ${DIR_SAMPLE})
target_link_libraries(llama sentencepiece glog::glog gtest gtest_main pthread)
target_link_libraries(llama ${ARMADILLO_LIBRARIES})
Expand Down

0 comments on commit e43d937

Please sign in to comment.