Skip to content

Commit

Permalink
build: add gettext[tools] vcpkg dep
Browse files Browse the repository at this point in the history
Add gettext vcpkg dependency lib with the [tools] feature for the msgfmt
utility to build the translations.

Can be disabled by setting the NO_GETTEXT environment variable, support
for which was added in 2cd6269 (build: support NO_LIB env to disable
vcpkg deps, 2022-03-17).

Signed-off-by: Rafael Kitover <[email protected]>
  • Loading branch information
rkitover committed Mar 17, 2022
1 parent c1d5e13 commit 619e5fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion compat/vcbuild/vcpkg_install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ REM ================================================================
:install_libraries

echo Installing third-party libraries(%arch%), this may take a while...
FOR %%i IN (zlib expat libiconv openssl libssh2 curl) DO (
FOR %%i IN (zlib expat libiconv openssl libssh2 curl gettext) DO (
IF NOT DEFINED NO_%%i (
cd %VCPKG_ROOT%
IF NOT EXIST "packages\%%i_%arch%" CALL :sub__install_one %%i
Expand Down Expand Up @@ -140,3 +140,7 @@ goto :EOF
:curl_features
set features=[core,openssl,schannel]
goto :EOF

:gettext_features
set features=[tools]
goto :EOF

0 comments on commit 619e5fc

Please sign in to comment.