mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
07d04280be
move some utility functions into common.h
11 lines
261 B
CMake
11 lines
261 B
CMake
set(TARGET 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()
|