mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-19 11:41:28 +01:00
talk-llama : try to fix windows build ..
This commit is contained in:
parent
82637b8e9f
commit
7cd1d3bc34
@ -1,10 +1,16 @@
|
|||||||
if (WHISPER_SUPPORT_SDL2)
|
if (WHISPER_SUPPORT_SDL2)
|
||||||
# talk-llama
|
# talk-llama
|
||||||
set(TARGET talk-llama)
|
set(TARGET talk-llama)
|
||||||
|
#add_executable(${TARGET} talk-llama.cpp llama.cpp)
|
||||||
|
#target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
|
#target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
add_executable(${TARGET} talk-llama.cpp llama.cpp)
|
# TODO: this is temporary
|
||||||
|
# need to export ggml symbols for MSVC, but too lazy ..
|
||||||
|
add_executable(${TARGET} talk-llama.cpp llama.cpp ../common.cpp ../common-sdl.cpp ../../ggml.c ../../whisper.cpp)
|
||||||
|
|
||||||
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS} ../../)
|
||||||
|
target_link_libraries(${TARGET} PRIVATE ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
include(DefaultTargetOptions)
|
include(DefaultTargetOptions)
|
||||||
|
|
||||||
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user