File size: 261 Bytes
613af8d
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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()