cmake : fix BUILD_SHARED_LIBS=ON build (#7784)
common depends on pthreads in Linux
This commit is contained in:
parent
7027b27d76
commit
27615f5ab2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue