mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-02 18:56:41 +00:00
8 lines
284 B
CMake
8 lines
284 B
CMake
|
if (WHISPER_SUPPORT_SDL2)
|
||
|
# talk
|
||
|
set(TARGET talk)
|
||
|
add_executable(${TARGET} talk.cpp gpt-2.cpp)
|
||
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
||
|
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||
|
endif ()
|