diff --git a/cmake/Modules/winconf-mingw.cmake b/cmake/Modules/winconf-mingw.cmake index ace955c5a..c2a71e94e 100644 --- a/cmake/Modules/winconf-mingw.cmake +++ b/cmake/Modules/winconf-mingw.cmake @@ -3,7 +3,7 @@ if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL endif () list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS - -D__USE_W32_SOCKETS - -D_FILE_OFFSET_BITS=64) + -D_FILE_OFFSET_BITS=64 + -D__USE_W32_SOCKETS) -link_libraries(advapi32 shell32 user32 wsock32 ws2_32 powrprof) +link_libraries(advapi32 iphlpapi ole32 powrprof shell32 user32 wsock32 ws2_32)