GHA CI: explicitly set C++20 mode for libtorrent

Bump Boost version. Boost::asio 1.76 has a bug that prevents compiling in C++20 mode.

PR #22245.
This commit is contained in:
Chocobo1
2025-02-08 16:30:36 +08:00
committed by GitHub
parent 4406a3f173
commit dc10b88cec
4 changed files with 5 additions and 2 deletions

View File

@@ -118,6 +118,7 @@ jobs:
-B build `
-G "Ninja" `
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
-DCMAKE_CXX_STANDARD=20 `
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON `
-DCMAKE_INSTALL_PREFIX="${{ env.libtorrent_path }}/install" `
-DCMAKE_TOOLCHAIN_FILE="${{ env.vcpkg_path }}/scripts/buildsystems/vcpkg.cmake" `