mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
chat(build): create deps/CMakeLists.txt
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
82c1368c86
commit
7bbdb695eb
@ -86,14 +86,9 @@ get_filename_component(Qt6_ROOT_DIR "${Qt6_ROOT_DIR}/.." ABSOLUTE)
|
|||||||
message(STATUS "qmake binary: ${QMAKE_EXECUTABLE}")
|
message(STATUS "qmake binary: ${QMAKE_EXECUTABLE}")
|
||||||
message(STATUS "Qt 6 root directory: ${Qt6_ROOT_DIR}")
|
message(STATUS "Qt 6 root directory: ${Qt6_ROOT_DIR}")
|
||||||
|
|
||||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
|
|
||||||
set(FMT_INSTALL OFF)
|
|
||||||
set(BUILD_SHARED_LIBS_SAVED "${BUILD_SHARED_LIBS}")
|
|
||||||
set(BUILD_SHARED_LIBS OFF)
|
|
||||||
add_subdirectory(deps/fmt)
|
|
||||||
set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_SAVED}")
|
|
||||||
|
|
||||||
|
add_subdirectory(deps)
|
||||||
add_subdirectory(../gpt4all-backend llmodel)
|
add_subdirectory(../gpt4all-backend llmodel)
|
||||||
|
|
||||||
set(CHAT_EXE_RESOURCES)
|
set(CHAT_EXE_RESOURCES)
|
||||||
@ -133,9 +128,6 @@ if (APPLE)
|
|||||||
list(APPEND CHAT_EXE_RESOURCES "${LOCAL_EMBEDDING_MODEL_PATH}")
|
list(APPEND CHAT_EXE_RESOURCES "${LOCAL_EMBEDDING_MODEL_PATH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(QAPPLICATION_CLASS QGuiApplication)
|
|
||||||
add_subdirectory(deps/SingleApplication)
|
|
||||||
|
|
||||||
if (DEFINED GGML_METALLIB)
|
if (DEFINED GGML_METALLIB)
|
||||||
set_source_files_properties("${GGML_METALLIB}" PROPERTIES GENERATED ON)
|
set_source_files_properties("${GGML_METALLIB}" PROPERTIES GENERATED ON)
|
||||||
endif()
|
endif()
|
||||||
|
7
gpt4all-chat/deps/CMakeLists.txt
Normal file
7
gpt4all-chat/deps/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
|
|
||||||
|
set(FMT_INSTALL OFF)
|
||||||
|
add_subdirectory(fmt)
|
||||||
|
|
||||||
|
set(QAPPLICATION_CLASS QGuiApplication)
|
||||||
|
add_subdirectory(SingleApplication)
|
Loading…
Reference in New Issue
Block a user