From 6b4b3c5e8f45b390d7ba09df60aff3db4ac7edf1 Mon Sep 17 00:00:00 2001 From: Francisco Pombal Date: Sat, 11 Jan 2020 19:41:59 +0000 Subject: [PATCH] Note that there is a possibility to build libtorrent with cmake --- Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki b/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki index 9549352..1ef90c6 100644 --- a/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki +++ b/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki @@ -59,6 +59,11 @@ If you want to use libtorrent 1.0.* (support of libtorrent 1.0 has been dropped If you get a configure: error: Boost.System library not found, check if you installed all the above dependencies.
If yes, add --with-boost-libdir=/usr/lib/i386-linux-gnu +CMake can now also be used to compile libtorrent + + mkdir -p cmake-build-dir/release && cd cmake-build-dir/release + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G "Unix Makefiles" ../.. + Now you're ready to compile: make clean && make -j$(nproc) sudo make install