mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-17 11:51:32 +02:00
examples : add "command" tool (#171)
This commit is contained in:
7
examples/command/CMakeLists.txt
Normal file
7
examples/command/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
if (WHISPER_SUPPORT_SDL2)
|
||||
# command
|
||||
set(TARGET command)
|
||||
add_executable(${TARGET} command.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