whisper.cpp / examples /stream /CMakeLists.txt
ggerganov's picture
refactoring : move main + stream in examples + other stuff
f79068a
raw
history blame
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 ()