mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-27 22:59:35 +00:00
2e59dced12
* whisper : rename binaries + fix install * cont : try to fix ci * cont : fix emscripten builds
13 lines
305 B
CMake
13 lines
305 B
CMake
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)
|