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