From e2734d4fb6815da5f357da4731d3013f64410e6b Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 8 Sep 2019 05:20:42 +0300 Subject: [PATCH] Update version to 1.5.0. GitOrigin-RevId: 4fe7ecd3ba5e2a8ba824116b16ddda379a9e3feb --- CMakeLists.txt | 2 +- README.md | 2 +- example/cpp/CMakeLists.txt | 2 +- example/uwp/extension.vsixmanifest | 2 +- td/telegram/Td.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59ec1b82..fde2bcbc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) -project(TDLib VERSION 1.4.2 LANGUAGES CXX C) +project(TDLib VERSION 1.5.0 LANGUAGES CXX C) if (POLICY CMP0054) # do not expand quoted arguments diff --git a/README.md b/README.md index 80f316c0..4a75b627 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic) Or you could install `TDLib` and then reference it in your CMakeLists.txt like this: ``` -find_package(Td 1.4.2 REQUIRED) +find_package(Td 1.5.0 REQUIRED) target_link_libraries(YourTarget PRIVATE Td::TdStatic) ``` See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt). diff --git a/example/cpp/CMakeLists.txt b/example/cpp/CMakeLists.txt index e53295f0..9bac853b 100644 --- a/example/cpp/CMakeLists.txt +++ b/example/cpp/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR) project(TdExample VERSION 1.0 LANGUAGES CXX) -find_package(Td 1.4.2 REQUIRED) +find_package(Td 1.5.0 REQUIRED) add_executable(tdjson_example tdjson_example.cpp) target_link_libraries(tdjson_example PRIVATE Td::TdJson) diff --git a/example/uwp/extension.vsixmanifest b/example/uwp/extension.vsixmanifest index aafd051a..62a9d117 100644 --- a/example/uwp/extension.vsixmanifest +++ b/example/uwp/extension.vsixmanifest @@ -1,6 +1,6 @@ - + TDLib for Universal Windows Platform TDLib is a library for building Telegram clients https://core.telegram.org/tdlib diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 0bb15001..0a89314c 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -224,7 +224,7 @@ class Td final : public NetQueryCallback { static td_api::object_ptr static_request(td_api::object_ptr function); private: - static constexpr const char *TDLIB_VERSION = "1.4.2"; + static constexpr const char *TDLIB_VERSION = "1.5.0"; static constexpr int64 ONLINE_ALARM_ID = 0; static constexpr int64 PING_SERVER_ALARM_ID = -1; static constexpr int32 PING_SERVER_TIMEOUT = 300;