mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2025-09-15 13:28:35 +08:00
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()
|