Browse Source

Merge pull request #11382 from Chocobo1/cmake

Fix missing libraries in cmake-mingw build
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
11bebd50d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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