File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ add_library(ggml OBJECT
229
229
230
230
target_include_directories (ggml PUBLIC . )
231
231
target_compile_features (ggml PUBLIC c_std_11 ) # don't bump
232
- target_link_libraries (ggml PRIVATE Threads::Threads ${LLAMA_EXTRA_LIBS} )
232
+ target_link_libraries (ggml PRIVATE common Threads::Threads ${LLAMA_EXTRA_LIBS} )
233
233
if (BUILD_SHARED_LIBS )
234
234
set_target_properties (ggml PROPERTIES POSITION_INDEPENDENT_CODE ON )
235
235
endif ()
Original file line number Diff line number Diff line change 1
1
set (TARGET embedding )
2
2
add_executable (${TARGET} embedding.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET main )
2
2
add_executable (${TARGET} main.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET perplexity )
2
2
add_executable (${TARGET} perplexity.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET quantize )
2
2
add_executable (${TARGET} quantize.cpp )
3
- target_link_libraries (${TARGET} PRIVATE llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
You can’t perform that action at this time.
0 commit comments