diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 56dd3ed..d67c215 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -62,6 +62,8 @@
       - name: Install dependencies
         run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka
       - name: configure OpenVPN with cmake
+        env:
+          PKG_CONFIG_PATH: "${{ env.VCPKG_INSTALLED_DIR }}/${{ matrix.vcpkg_triplet }}/lib/pkgconfig"
         run: |
           cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=yes \
             -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=28 \
