Skip to content

Commit 1f3e51a

Browse files
MINGW: add winsock library when linking. (#129)
1 parent 4e748c6 commit 1f3e51a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,6 @@ if(WIN32)
187187
"${CMAKE_SOURCE_DIR}/Run"
188188
COMMENT "Copy SDL runtime DLLs to output directory")
189189
endif()
190+
191+
target_link_libraries(openfodder PRIVATE ws2_32)
190192
endif()

0 commit comments

Comments
 (0)