Skip to content

Commit

Permalink
.github/workflows/windows.yml: Set VCPKG_TARGET_TRIPLET when building…
Browse files Browse the repository at this point in the history
… APR and

APR-Util to use proper vcpkg packages.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920649 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 14, 2024
1 parent ffd3990 commit df9e217
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ jobs:
-S ${{github.workspace}}/apr ^
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install ^
-DVCPKG_TARGET_TRIPLET=${{ matrix.triplet }}
- name: Build APR
shell: cmd
Expand Down Expand Up @@ -143,6 +144,7 @@ jobs:
-DAPR_HAS_LDAP=OFF ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install ^
-DVCPKG_TARGET_TRIPLET=${{ matrix.triplet }} ^
${{ matrix.config }}
- name: Build
Expand Down

0 comments on commit df9e217

Please sign in to comment.