whisper.cpp/examples/stream/CMakeLists.txt

11 lines
272 B
CMake
Raw Normal View History

if (WHISPER_SDL2)
set(TARGET whisper-stream)
add_executable(${TARGET} stream.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
endif ()