2023-11-20 20:40:24 +01:00
|
|
|
set(TARGET server)
|
|
|
|
add_executable(${TARGET} server.cpp httplib.h json.hpp)
|
|
|
|
|
|
|
|
include(DefaultTargetOptions)
|
|
|
|
|
|
|
|
target_link_libraries(${TARGET} PRIVATE common whisper ${CMAKE_THREAD_LIBS_INIT})
|
2023-12-10 18:47:52 +01:00
|
|
|
|
2024-01-15 14:48:13 +01:00
|
|
|
if (WIN32)
|
|
|
|
target_link_libraries(${TARGET} PRIVATE ws2_32)
|
2023-12-10 18:47:52 +01:00
|
|
|
endif()
|