qBittorrent/cmake/Modules/winconf-mingw.cmake

12 lines
351 B
CMake
Raw Normal View History

2015-11-06 21:03:18 +03:00
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
link_libraries(-Wl,--dynamicbase)
endif ()
2015-11-06 21:03:18 +03:00
list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
-D_FILE_OFFSET_BITS=64
-D__USE_W32_SOCKETS)
2019-11-09 15:43:30 +03:00
# libraries from winconf.pri
link_libraries(advapi32 iphlpapi ole32 shell32 user32 wsock32 ws2_32)