mirror of
https://github.com/qbittorrent/docker-qbittorrent-nox.git
synced 2024-11-23 01:09:41 +00:00
Compile libtorrent in C++20 mode
As qbt require C++20 too.
This commit is contained in:
parent
757708a742
commit
3625c9ef8b
@ -60,6 +60,8 @@ RUN \
|
||||
--recurse-submodules \
|
||||
https://github.com/arvidn/libtorrent.git && \
|
||||
cd libtorrent && \
|
||||
CFLAGS="$CFLAGS -std=c++20" \
|
||||
CXXFLAGS="$CXXFLAGS -std=c++20" \
|
||||
cmake \
|
||||
-B build \
|
||||
-G Ninja \
|
||||
|
@ -60,6 +60,8 @@ RUN \
|
||||
--recurse-submodules \
|
||||
https://github.com/arvidn/libtorrent.git && \
|
||||
cd libtorrent && \
|
||||
CFLAGS="$CFLAGS -std=c++20" \
|
||||
CXXFLAGS="$CXXFLAGS -std=c++20" \
|
||||
cmake \
|
||||
-B build \
|
||||
-G Ninja \
|
||||
|
Loading…
Reference in New Issue
Block a user