diff options
author | intelmatt <61025942+intelmatt@users.noreply.github.com> | 2024-06-07 05:15:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 15:15:07 +0300 |
commit | 27615f5ab21060d96953c9c1e223051ab2188f57 (patch) | |
tree | 76e9eecf00d900603b0a984443cb5d3a170be94d | |
parent | 7027b27d765db95d4ac6b569d976e387a8715881 (diff) |
cmake : fix BUILD_SHARED_LIBS=ON build (#7784)
common depends on pthreads in Linux
-rw-r--r-- | common/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 0ec8d6d8..171530c9 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -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) |