mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-25 01:29:48 +00:00
Install gperf through vcpkg on Windows.
This commit is contained in:
parent
25946a5c8e
commit
cfa7124e76
@ -249,7 +249,6 @@ function onOptionsChanged() {
|
|||||||
pre_text.push('Download and install <a href="https://visualstudio.microsoft.com/ru/vs/community/">Microsoft Visual Studio</a>. Enable C++ support while installing.');
|
pre_text.push('Download and install <a href="https://visualstudio.microsoft.com/ru/vs/community/">Microsoft Visual Studio</a>. Enable C++ support while installing.');
|
||||||
pre_text.push('Download and install <a href="https://cmake.org/download/">CMake</a>; choose "Add CMake to the system PATH" option while installing.');
|
pre_text.push('Download and install <a href="https://cmake.org/download/">CMake</a>; choose "Add CMake to the system PATH" option while installing.');
|
||||||
pre_text.push('Download and install <a href="https://git-scm.com/download/win">Git</a>.');
|
pre_text.push('Download and install <a href="https://git-scm.com/download/win">Git</a>.');
|
||||||
pre_text.push('Download and install <a href="https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/">gperf</a>. Add the path to gperf.exe to the PATH environment variable.');
|
|
||||||
}
|
}
|
||||||
if (os_linux && linux_distro === 'Other') {
|
if (os_linux && linux_distro === 'Other') {
|
||||||
var compiler = use_clang ? 'clang >= 3.4' : 'g++ >= 4.9.2';
|
var compiler = use_clang ? 'clang >= 3.4' : 'g++ >= 4.9.2';
|
||||||
@ -410,9 +409,9 @@ function onOptionsChanged() {
|
|||||||
commands.push('cd vcpkg');
|
commands.push('cd vcpkg');
|
||||||
commands.push(local + 'bootstrap-vcpkg.bat');
|
commands.push(local + 'bootstrap-vcpkg.bat');
|
||||||
if (build_64bit) {
|
if (build_64bit) {
|
||||||
commands.push(local + 'vcpkg.exe install openssl:x64-windows zlib:x64-windows');
|
commands.push(local + 'vcpkg.exe install gperf openssl:x64-windows zlib:x64-windows');
|
||||||
} else {
|
} else {
|
||||||
commands.push(local + 'vcpkg.exe install openssl:x86-windows zlib:x86-windows');
|
commands.push(local + 'vcpkg.exe install gperf openssl:x86-windows zlib:x86-windows');
|
||||||
}
|
}
|
||||||
commands.push('cd ..');
|
commands.push('cd ..');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user