From c05dbc451a650be3fbb66b77417876dfbee5ea7a Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 14 Jan 2022 14:43:22 +0800 Subject: [PATCH] GHA CI: build libtorrent with `/guard:cf` flag qbt cmake script enables that flag already, so it make sense to build dependencies with it too. PR #16083. --- .github/workflows/ci_windows.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_windows.yaml b/.github/workflows/ci_windows.yaml index 823e8f04a..fc64ab11f 100644 --- a/.github/workflows/ci_windows.yaml +++ b/.github/workflows/ci_windows.yaml @@ -86,6 +86,7 @@ jobs: -B build ` -G "Ninja" ` -DCMAKE_BUILD_TYPE=RelWithDebInfo ` + -DCMAKE_CXX_FLAGS=/guard:cf ` -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ` -DCMAKE_INSTALL_PREFIX="${{ env.libtorrent_path }}" ` -DCMAKE_TOOLCHAIN_FILE="${{ env.RUNVCPKG_VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake" `