diff options
| author | Francisco Pombal <FranciscoPombal@users.noreply.github.com> | 2020-04-27 15:40:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-27 07:40:36 -0700 |
| commit | 422fb5df87f6ae2d01a6ccdca7211a54c0e88fa1 (patch) | |
| tree | 9219d8f93091c4ec951f2b6471ef8fa020855dcb /ports/libtorrent/add-datetime-to-boost-libs.patch | |
| parent | 2bf1c1da02694101364f5b6d029cdd3e4f42102e (diff) | |
| download | vcpkg-422fb5df87f6ae2d01a6ccdca7211a54c0e88fa1.tar.gz vcpkg-422fb5df87f6ae2d01a6ccdca7211a54c0e88fa1.zip | |
[libtorrent] Update to 1.2.6 and add features (#10686)
Diffstat (limited to 'ports/libtorrent/add-datetime-to-boost-libs.patch')
| -rw-r--r-- | ports/libtorrent/add-datetime-to-boost-libs.patch | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ports/libtorrent/add-datetime-to-boost-libs.patch b/ports/libtorrent/add-datetime-to-boost-libs.patch index 1ec65a8f5..1ef09021a 100644 --- a/ports/libtorrent/add-datetime-to-boost-libs.patch +++ b/ports/libtorrent/add-datetime-to-boost-libs.patch @@ -1,16 +1,16 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 944602b..9d95446 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -678,9 +678,9 @@ else()
- endif()
-
- # Boost
--find_public_dependency(Boost REQUIRED COMPONENTS system)
-+find_public_dependency(Boost REQUIRED COMPONENTS system date_time)
- target_include_directories(torrent-rasterbar PUBLIC ${Boost_INCLUDE_DIRS})
--target_link_libraries(torrent-rasterbar PUBLIC ${Boost_SYSTEM_LIBRARY})
-+target_link_libraries(torrent-rasterbar PUBLIC ${Boost_LIBRARIES})
-
- if (exceptions)
- if (MSVC)
+diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4f329339f..36f033b92 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -672,9 +672,9 @@ else() + endif() + + # Boost +-find_public_dependency(Boost REQUIRED COMPONENTS system) ++find_public_dependency(Boost REQUIRED COMPONENTS system date_time) + target_include_directories(torrent-rasterbar PUBLIC ${Boost_INCLUDE_DIRS}) +-target_link_libraries(torrent-rasterbar PUBLIC ${Boost_SYSTEM_LIBRARY}) ++target_link_libraries(torrent-rasterbar PUBLIC ${Boost_LIBRARIES}) + + if (exceptions) + if (MSVC) |
