Skip to content

Commit

Permalink
Don't require VCPKG_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 28, 2025
1 parent 31c7983 commit a33885a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/c_glib_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ meson_pkg_config_path="${ARROW_HOME}/lib/pkgconfig"

mkdir -p "${build_dir}"

if [ -n "${VCPKG_ROOT:-}" ] && [ -n "${VCPKG_TRIPLET:-}" ]; then
if [ -n "${VCPKG_TRIPLET:-}" ]; then
vcpkg_install_root="${build_root}/vcpkg_installed"
"${VCPKG_ROOT}/vcpkg" install \
vcpkg install \
--x-manifest-root="${source_dir}" \
--x-install-root="${vcpkg_install_root}"
PKG_CONFIG="${vcpkg_install_root}/${VCPKG_TRIPLET}/tools/pkgconf/pkgconf.exe"
Expand Down

0 comments on commit a33885a

Please sign in to comment.