File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
if (WHISPER_SUPPORT_SDL2 )
2
2
# talk-llama
3
3
set (TARGET talk-llama )
4
+ #add_executable(${TARGET} talk-llama.cpp llama.cpp)
5
+ #target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
6
+ #target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
4
7
5
- add_executable (${TARGET} talk-llama.cpp llama.cpp )
8
+ # TODO: this is temporary
9
+ # need to export ggml symbols for MSVC, but too lazy ..
10
+ add_executable (${TARGET} talk-llama.cpp llama.cpp ../common.cpp ../common-sdl.cpp ../../ggml.c ../../whisper.cpp )
6
11
7
- include (DefaultTargetOptions )
12
+ target_include_directories (${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS} ../../ )
13
+ target_link_libraries (${TARGET} PRIVATE ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
8
14
9
- target_link_libraries ( ${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
15
+ include ( DefaultTargetOptions )
10
16
endif ()
You can’t perform that action at this time.
0 commit comments