Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d1bb5b4

Browse filesBrowse files
authored
Merge pull request #287 from brandonros/patch-1
link against windows winsock libraries
2 parents 17ae701 + 9f5269c commit d1bb5b4
Copy full SHA for d1bb5b4

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ if(RPCLIB_COMPILE_DEFINITIONS)
167167
endif()
168168

169169
target_link_libraries(${PROJECT_NAME} ${RPCLIB_DEP_LIBRARIES})
170+
if (WIN32)
171+
target_link_libraries(${PROJECT_NAME} wsock32 ws2_32)
172+
endif()
170173
target_include_directories(
171174
${PROJECT_NAME} PUBLIC
172175
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.