Skip to content

Commit

Permalink
cmake : fix BUILD_SHARED_LIBS=ON build (ggerganov#7784)
Browse files Browse the repository at this point in the history
common depends on pthreads in Linux
  • Loading branch information
intelmatt authored Jun 7, 2024
1 parent 7027b27 commit 27615f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ endif ()

target_include_directories(${TARGET} PUBLIC .)
target_compile_features(${TARGET} PUBLIC cxx_std_11)
target_link_libraries(${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama)
target_link_libraries(${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)

0 comments on commit 27615f5

Please sign in to comment.