Skip to content

Commit 5043cf4

Browse files
committed
build: add gettext[tools] vcpkg dep
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]>
1 parent e83df14 commit 5043cf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: compat/vcbuild/vcpkg_install.bat

+5-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ REM ================================================================
7272
:install_libraries
7373

7474
echo Installing third-party libraries(%arch%), this may take a while...
75-
FOR %%i IN (zlib expat libiconv openssl libssh2 curl) DO (
75+
FOR %%i IN (zlib expat libiconv openssl libssh2 curl gettext) DO (
7676
IF NOT DEFINED NO_%%i (
7777
cd %VCPKG_ROOT%
7878
IF NOT EXIST "packages\%%i_%arch%" CALL :sub__install_one %%i
@@ -140,3 +140,7 @@ goto :EOF
140140
:curl_features
141141
set features=[core,openssl,schannel]
142142
goto :EOF
143+
144+
:gettext_features
145+
set features=[tools]
146+
goto :EOF

0 commit comments

Comments
 (0)