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