Spaces:
Sleeping
Sleeping
Download examples/stream/CMakeLists.txt from natasa365/whisper.cpp: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/natasa365/whisper.cpp/resolve/00ac035ef89526c432bf8d8dd8fbaebfabe2bec4/examples/stream/CMakeLists.txt
- Command line
-
hf download hf://spaces/natasa365/whisper.cpp@00ac035ef89526c432bf8d8dd8fbaebfabe2bec4/examples/stream/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/spaces/natasa365/whisper.cpp/resolve/00ac035ef89526c432bf8d8dd8fbaebfabe2bec4/examples/stream/CMakeLists.txt
280 Bytes
| 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 () | |