summarylogtreecommitdiffstats
path: root/001-change-binary-name.diff
blob: 9de2977dee6c813e6e8f24efa8d9b117c90c127f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/gpt4all-chat/CMakeLists.txt	2024-07-28 02:17:29.000000000 +0800
+++ b/gpt4all-chat/CMakeLists.txt	2024-08-08 10:36:24.999923967 +0800
@@ -306,7 +306,11 @@
 target_link_libraries(chat
     PRIVATE llmodel)
 
-
+if(LINUX)
+  set_target_properties(chat PROPERTIES
+    OUTPUT_NAME gpt4all-chat
+  )
+endif()
 # -- install --
 
 set(COMPONENT_NAME_MAIN ${PROJECT_NAME})