mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 08:29:06 +08:00
14 lines
590 B
Diff
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)
|