Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit dfbbd66

Browse files
committed
Windows tweaks
1 parent fdb3f83 commit dfbbd66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ set ( EV_SRC
1818
)
1919

2020
if (WIN32)
21-
list ( APPEND EV_SRC ev_win32.c )
21+
list ( APPEND EV_LIBS Ws2_32 )
2222
endif ()
2323

2424
add_library ( ev ${EV_SRC} )
25+
target_link_libraries ( ev ${EV_LIBS} )
2526

2627
install_library ( ev )
2728
install_header ( ev.h ev++.h event.h )

0 commit comments

Comments
 (0)