2023-04-11 21:03:18 +00:00
|
|
|
set(MACDEPLOYQT "@MACDEPLOYQT@")
|
2023-04-10 20:46:23 +00:00
|
|
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
|
|
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
2023-04-11 23:03:55 +00:00
|
|
|
execute_process(COMMAND ${MACDEPLOYQT} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/chat.app -qmldir=${CMAKE_CURRENT_SOURCE_DIR} -verbose=2)
|
2023-04-12 02:28:58 +00:00
|
|
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/models/ggml-gpt4all-j.bin
|
2023-04-11 20:58:59 +00:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/chat.app/Contents/MacOS)
|