Browse Source

Fix missing libraries in cmake-mingw build

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
bb23366912
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 6
      cmake/Modules/winconf-mingw.cmake

6
cmake/Modules/winconf-mingw.cmake

@ -3,7 +3,7 @@ if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL @@ -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)

Loading…
Cancel
Save