Link with winsock on Windows.

This commit is contained in:
Bartosz Taudul 2024-03-16 18:16:56 +01:00
parent 58115b35c5
commit 2c4abf5f9f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -157,6 +157,10 @@ link_libraries(${LIBS})
add_executable(${PROJECT_NAME} ${PROFILER_FILES} ${COMMON_FILES} ${SERVER_FILES}) add_executable(${PROJECT_NAME} ${PROFILER_FILES} ${COMMON_FILES} ${SERVER_FILES})
target_link_libraries(${PROJECT_NAME} PRIVATE TracyImGui TracyCapstone TracyZstd TracyNfd) target_link_libraries(${PROJECT_NAME} PRIVATE TracyImGui TracyCapstone TracyZstd TracyNfd)
if (UNIX) if(UNIX)
target_link_libraries(${PROJECT_NAME} PRIVATE TracyTbb) target_link_libraries(${PROJECT_NAME} PRIVATE TracyTbb)
endif() endif()
if(WIN32)
target_link_libraries(${PROJECT_NAME} PRIVATE ws2_32)
endif()