diff --git a/.github/ci-windows.py b/.github/ci-windows.py index e21a7da94a3..a808812e408 100755 --- a/.github/ci-windows.py +++ b/.github/ci-windows.py @@ -71,8 +71,8 @@ def generate(ci_type): "-B", "build", "-Werror=dev", - "--preset", - "vs2026", + "--preset=vs2026", + "-DVCPKG_TARGET_TRIPLET=x64-windows-release", ] + GENERATE_OPTIONS[ci_type] if run(command, check=False).returncode != 0: print("=== ⚠️ ===") diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13d1e265bee..b7d6a2fb43a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -253,10 +253,6 @@ jobs: py -3 --version bash --version - - name: Using vcpkg with MSBuild - run: | - echo "set(VCPKG_BUILD_TYPE release)" >> "${VCPKG_INSTALLATION_ROOT}/triplets/x64-windows.cmake" - - name: Set VCPKG_ROOT run: | echo "VCPKG_ROOT=${VCPKG_INSTALLATION_ROOT}" >> "$GITHUB_ENV"