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

10 lines
315 B
CMake
Raw Normal View History

2015-11-06 19:03:18 +01:00
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
link_libraries(-Wl,--dynamicbase)
endif ()
2015-11-06 19:03:18 +01:00
list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
-D__USE_W32_SOCKETS
-D_FILE_OFFSET_BITS=64)
link_libraries(advapi32 shell32 user32 wsock32 ws2_32 powrprof)