jweinst1
4/5/2020 - 8:14 AM

Linking WinSock through CMAKE

Linking WinSock through CMAKE

add_executable(MySocketApp main.cpp)
if(WIN32)
  target_link_libraries(MySocketApp ws2_32)
endif(WIN32)