1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Merge pull request #11382 from Chocobo1/cmake

Fix missing libraries in cmake-mingw build
This commit is contained in:
Mike Tzou 2019-10-23 13:31:20 +08:00 committed by GitHub
commit 11bebd50d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)