Skip to content

Commit 6d973a6

Browse files
authored
Fix CMake
1 parent e750735 commit 6d973a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.8)
2-
project("llama.cpp")
2+
project("alpaca.cpp")
33

44
set(CMAKE_CXX_STANDARD 20)
55
set(CMAKE_CXX_STANDARD_REQUIRED true)
@@ -104,8 +104,8 @@ endif()
104104
# set(LLAMA_EXTRA_FLAGS ${LLAMA_EXTRA_FLAGS} -DGGML_PERF)
105105
# endif()
106106

107-
add_executable(llama
108-
main.cpp
107+
add_executable(chat
108+
chat.cpp
109109
utils.cpp
110110
utils.h)
111111

@@ -119,10 +119,10 @@ add_library(ggml
119119
ggml.h)
120120

121121
target_compile_definitions(ggml PUBLIC ${LLAMA_EXTRA_FLAGS})
122-
target_compile_definitions(llama PUBLIC ${LLAMA_EXTRA_FLAGS})
122+
target_compile_definitions(chat PUBLIC ${LLAMA_EXTRA_FLAGS})
123123
target_compile_definitions(quantize PUBLIC ${LLAMA_EXTRA_FLAGS})
124124

125125
target_link_libraries(ggml PRIVATE ${LLAMA_EXTRA_LIBS})
126126
target_include_directories(ggml PUBLIC .)
127127
target_link_libraries(quantize PRIVATE ggml)
128-
target_link_libraries(llama PRIVATE ggml)
128+
target_link_libraries(chat PRIVATE ggml)

0 commit comments

Comments
 (0)