mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
put chat.exe in 'bin' folder of build tree
because this is also in llama.cpp's CMakeLists: https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L11 this is where libllama.dll winds up, causing attempts to run the chat UI from Qt Creator on Windows to fail due to not finding libllama.dll - I've been working around this by copying libllama.dll *out* of bin/ but have been bitten a few times by forgetting to keep doing that and the build getting out of sync.
This commit is contained in:
parent
9b4a5e7e9c
commit
af83056a4f
@ -53,6 +53,8 @@ message(STATUS "Qt 6 root directory: ${Qt6_ROOT_DIR}")
|
||||
|
||||
add_subdirectory(llmodel)
|
||||
|
||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
qt_add_executable(chat
|
||||
main.cpp
|
||||
download.h download.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user