Skip to content

Commit

Permalink
CI: Install optional gdal executables from vcpkg (#5803)
Browse files Browse the repository at this point in the history
In this PR (microsoft/vcpkg#19243), the vcpkg's
GDAL package no longer build executables by default. We need to add the
`[tools]` parameter to re-enable building the executables.
  • Loading branch information
seisman authored Sep 27, 2021
1 parent faf3a10 commit 2e42ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/install-dependencies-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PACKAGE="${PACKAGE:-false}"
WIN_PLATFORM=x64-windows

# install libraries
vcpkg install netcdf-c gdal pcre2 fftw3[core,threads] clapack openblas --triplet ${WIN_PLATFORM}
vcpkg install netcdf-c gdal[core,tools] pcre2 fftw3[core,threads] clapack openblas --triplet ${WIN_PLATFORM}
# Executable files search for DLL files in the directories listed in the PATH environment variable.
echo "${VCPKG_INSTALLATION_ROOT}/installed/${WIN_PLATFORM}/bin" >> $GITHUB_PATH
# Tools like gdal_translate, ogr2ogr are located in tools/gdal
Expand Down

0 comments on commit 2e42ba2

Please sign in to comment.