whisper.cpp/examples/lsp/CMakeLists.txt

11 lines
287 B
CMake

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