qBittorrent/cmake/Modules/winconf-mingw.cmake
2019-10-19 14:03:39 +08:00

9 lines
330 B
CMake

if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
link_libraries(-Wl,--dynamicbase)
endif ()
list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
-D_FILE_OFFSET_BITS=64
-D__USE_W32_SOCKETS)
link_libraries(advapi32 iphlpapi ole32 powrprof shell32 user32 wsock32 ws2_32)