summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorCuong Trinh Manh <nguoithichkhampha@gmail.com>2023-12-29 21:39:15 +0700
committerGitHub <noreply@github.com>2023-12-29 16:39:15 +0200
commit97bbca6e8522d18041fcde6c3d0907a52ce36446 (patch)
tree1c6881eba36c92b6931f4475e3ab6c6793592a69 /common
parent4af4801566bc262a38fb77f51edf278ac323c2bd (diff)
cmake : fix ld warning duplicate libraries libllama.a (#4671)
* fix "ld: warning: ignoring duplicate libraries: '../libllama.a'" * fix warning in example.
Diffstat (limited to 'common')
-rw-r--r--common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index b5d5453d..f79acfef 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -65,4 +65,4 @@ endif()
target_include_directories(${TARGET} PUBLIC .)
target_compile_features(${TARGET} PUBLIC cxx_std_11)
-target_link_libraries(${TARGET} PRIVATE llama build_info)
+target_link_libraries(${TARGET} PRIVATE build_info PUBLIC llama)