stuff
This commit is contained in:
@@ -37,6 +37,7 @@ add_library(llama
|
||||
llama-model.cpp
|
||||
llama-quant.cpp
|
||||
llama-sampler.cpp
|
||||
llama-token-cache.cpp
|
||||
llama-vocab.cpp
|
||||
unicode-data.cpp
|
||||
unicode.cpp
|
||||
@@ -56,6 +57,13 @@ target_compile_features (llama PRIVATE cxx_std_17) # don't bump
|
||||
|
||||
target_link_libraries(llama PUBLIC ggml)
|
||||
|
||||
find_package(SQLite3 REQUIRED)
|
||||
if (TARGET SQLite3::SQLite3)
|
||||
target_link_libraries(llama PRIVATE SQLite3::SQLite3)
|
||||
else()
|
||||
target_link_libraries(llama PRIVATE SQLite::SQLite3)
|
||||
endif()
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(llama PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
target_compile_definitions(llama PRIVATE LLAMA_BUILD)
|
||||
|
||||
Reference in New Issue
Block a user