2023-04-11 17:03:18 -04:00
|
|
|
set(MACDEPLOYQT "@MACDEPLOYQT@")
|
2023-04-10 16:46:23 -04:00
|
|
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
|
|
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
2023-04-23 22:57:37 -04:00
|
|
|
execute_process(COMMAND ${MACDEPLOYQT} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app -qmldir=${CMAKE_CURRENT_SOURCE_DIR} -verbose=2)
|
2023-06-05 09:23:17 -04:00
|
|
|
file(GLOB MYGPTJLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libgptj*)
|
|
|
|
file(GLOB MYMPTLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libmpt*)
|
|
|
|
file(GLOB MYLLAMALIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libllama*)
|
2023-06-16 17:13:03 -04:00
|
|
|
file(GLOB MYREPLITLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libreplit*)
|
2023-06-27 17:20:40 -04:00
|
|
|
file(GLOB MYFALCONLLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libfalcon*)
|
2023-05-16 13:04:09 -04:00
|
|
|
file(GLOB MYLLMODELLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libllmodel.*)
|
2023-06-05 09:23:17 -04:00
|
|
|
file(COPY ${MYGPTJLIBS}
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
|
|
|
file(COPY ${MYMPTLIBS}
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
2023-06-16 17:13:03 -04:00
|
|
|
file(COPY ${MYREPLITLIBS}
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
2023-06-27 17:13:13 -04:00
|
|
|
file(COPY ${MYFALCONLLIBS}
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
2023-06-05 09:23:17 -04:00
|
|
|
file(COPY ${MYLLAMALIBS}
|
2023-04-23 23:38:12 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
2023-05-16 13:04:09 -04:00
|
|
|
file(COPY ${MYLLMODELLIBS}
|
2023-04-25 19:16:45 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
|
2023-04-24 00:44:02 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/favicon.icns"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Resources)
|
2023-04-12 22:12:01 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-32.png"
|
2023-04-13 06:39:10 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
2023-04-12 22:12:01 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-48.png"
|
2023-04-13 06:39:10 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
2023-04-13 06:49:47 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/favicon.icns"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|