mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-22 00:13:35 +00:00
refactoring : move main + stream in examples + other stuff
This commit is contained in:
7
examples/stream/CMakeLists.txt
Normal file
7
examples/stream/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
if (WHISPER_SUPPORT_SDL2)
|
||||
# stream
|
||||
set(TARGET stream)
|
||||
add_executable(${TARGET} stream.cpp)
|
||||
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
endif ()
|
Reference in New Issue
Block a user