cmake : fix BUILD_SHARED_LIBS=ON build (#7784)

common depends on pthreads in Linux
This commit is contained in:
intelmatt 2024-06-07 05:15:07 -07:00 committed by GitHub
parent 7027b27d76
commit 27615f5ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)