vcpkg/ports/libtorrent/add-dbghelp-to-win32-libs.patch
2017-07-09 20:46:53 +02:00

14 lines
590 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1963d90..99698a2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -267,7 +267,7 @@ target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_I
#add_definitions(-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -D__USE_W32_SOCKETS -DWIN32_LEAN_AND_MEAN )
if (WIN32)
- target_link_libraries(torrent-rasterbar wsock32 ws2_32 Iphlpapi)
+ target_link_libraries(torrent-rasterbar wsock32 ws2_32 Iphlpapi dbghelp)
add_definitions(-D_WIN32_WINNT=0x0600)
# prevent winsock1 to be included
add_definitions(-DWIN32_LEAN_AND_MEAN)