whisper.cpp / examples /stream /CMakeLists.txt
ggerganov's picture
examples : refactor in order to reuse code and reduce duplication (#482)
acbd6f7 unverified
raw
history blame
245 Bytes
if (WHISPER_SUPPORT_SDL2)
# stream
set(TARGET stream)
add_executable(${TARGET} stream.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${CMAKE_THREAD_LIBS_INIT})
endif ()