whisper.cpp / examples /command /CMakeLists.txt
ggerganov's picture
whisper : rename binaries + fix install (#2648)
30197de unverified
raw
history blame
274 Bytes
if (WHISPER_SDL2)
set(TARGET whisper-command)
add_executable(${TARGET} command.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
endif ()