Skip to content

Commit bb23366

Browse files
committed
Fix missing libraries in cmake-mingw build
1 parent c5da4d1 commit bb23366

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/Modules/winconf-mingw.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL
33
endif ()
44

55
list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
6-
-D__USE_W32_SOCKETS
7-
-D_FILE_OFFSET_BITS=64)
6+
-D_FILE_OFFSET_BITS=64
7+
-D__USE_W32_SOCKETS)
88

9-
link_libraries(advapi32 shell32 user32 wsock32 ws2_32 powrprof)
9+
link_libraries(advapi32 iphlpapi ole32 powrprof shell32 user32 wsock32 ws2_32)

0 commit comments

Comments
 (0)