Move the usearch submodule to third_party dir.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-08-10 09:48:54 -04:00
parent cedba6cd10
commit f93b76438e
3 changed files with 3 additions and 3 deletions

2
.gitmodules vendored
View File

@ -3,5 +3,5 @@
url = https://github.com/nomic-ai/llama.cpp.git url = https://github.com/nomic-ai/llama.cpp.git
branch = master branch = master
[submodule "gpt4all-chat/usearch"] [submodule "gpt4all-chat/usearch"]
path = gpt4all-chat/usearch path = gpt4all-chat/third_party/usearch
url = https://github.com/nomic-ai/usearch.git url = https://github.com/nomic-ai/usearch.git

View File

@ -293,8 +293,8 @@ target_compile_definitions(chat
# usearch uses the identifier 'slots' which conflicts with Qt's 'slots' keyword # usearch uses the identifier 'slots' which conflicts with Qt's 'slots' keyword
target_compile_definitions(chat PRIVATE QT_NO_SIGNALS_SLOTS_KEYWORDS) target_compile_definitions(chat PRIVATE QT_NO_SIGNALS_SLOTS_KEYWORDS)
target_include_directories(chat PRIVATE usearch/include target_include_directories(chat PRIVATE third_party/usearch/include
usearch/fp16/include) third_party/usearch/fp16/include)
if(LINUX) if(LINUX)
target_link_libraries(chat target_link_libraries(chat