diff --git a/README.md b/README.md index 47fa9a2474..14519469de 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ The source code is published under GPLv3 with OpenSSL exception, the license is * FFmpeg ([LGPL](https://www.ffmpeg.org/legal.html)) * Guideline Support Library ([MIT License](https://github.com/Microsoft/GSL/blob/master/LICENSE)) * Mapbox Variant ([BSD License](https://github.com/mapbox/variant/blob/master/LICENSE)) +* Range-v3 ([Boost License](https://github.com/ericniebler/range-v3/blob/master/LICENSE.txt)) * Open Sans font ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)) * Emoji alpha codes ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md)) * Catch test framework ([Boost License](https://github.com/philsquared/Catch/blob/master/LICENSE.txt)) diff --git a/Telegram/SourceFiles/stdafx.h b/Telegram/SourceFiles/stdafx.h index 4f793d1110..9e45002408 100644 --- a/Telegram/SourceFiles/stdafx.h +++ b/Telegram/SourceFiles/stdafx.h @@ -62,6 +62,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include #include #include +#include // Ensures/Expects. #include diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp index 691471ad11..31480945b1 100644 --- a/Telegram/gyp/Telegram.gyp +++ b/Telegram/gyp/Telegram.gyp @@ -102,6 +102,7 @@ '<(libs_loc)/ffmpeg', '<(libs_loc)/openal-soft/include', '<(libs_loc)/opus/include', + '<(libs_loc)/range-v3/include', '<(minizip_loc)', '<(sp_media_key_tap_loc)', '<(emoji_suggestions_loc)', diff --git a/docs/building-cmake.md b/docs/building-cmake.md index 05e5865f98..ed3dacdf61 100644 --- a/docs/building-cmake.md +++ b/docs/building-cmake.md @@ -33,6 +33,8 @@ Go to ***BuildPath*** and run mkdir Libraries cd Libraries + git clone https://github.com/ericniebler/range-v3 + git clone https://github.com/telegramdesktop/zlib.git cd zlib ./configure diff --git a/docs/building-msvc.md b/docs/building-msvc.md index 65cd808a04..9a8b632e85 100644 --- a/docs/building-msvc.md +++ b/docs/building-msvc.md @@ -51,6 +51,8 @@ Open **x86 Native Tools Command Prompt for VS 2017.bat**, go to ***BuildPath*** mkdir Libraries cd Libraries + git clone https://github.com/Microsoft/Range-V3-VS2015 range-v3 + git clone https://github.com/telegramdesktop/lzma.git cd lzma\C\Util\LzmaLib msbuild LzmaLib.sln /property:Configuration=Debug diff --git a/docs/building-xcode.md b/docs/building-xcode.md index 6c846238c0..92dc588fb4 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -20,6 +20,8 @@ Go to ***BuildPath*** and run cd Libraries + git clone https://github.com/ericniebler/range-v3 + cd xz-5.0.5 ./configure make