whisper.cpp / examples /server /CMakeLists.txt
felrock's picture
examples : clean up common code (#1871)
da3cdf4 unverified
raw
history blame
261 Bytes
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()