Skip to content

Commit

Permalink
Fix build with external minizip.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Mar 13, 2020
1 parent 854bc9f commit 1df1b9f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ project(Telegram
)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Telegram)

get_filename_component(third_party_loc "Telegram/ThirdParty" REALPATH)
get_filename_component(submodules_loc "Telegram" REALPATH)

include(cmake/variables.cmake)
include(cmake/nice_target_sources.cmake)
include(cmake/target_link_static_libraries.cmake)
Expand Down
1 change: 1 addition & 0 deletions Telegram/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ PRIVATE
desktop-app::external_lz4
desktop-app::external_rlottie
desktop-app::external_zlib
desktop-app::external_minizip
desktop-app::external_qt
desktop-app::external_qr_code_generator
desktop-app::external_crash_reports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ For license and copyright information please follow this link:
*/
#include "mtproto/details/mtproto_dump_to_text.h"

#include "base/zlib_help.h"
#include "scheme-dump_to_text.h"
#include "scheme.h"

#include "zlib.h"

namespace MTP::details {

bool DumpToTextCore(DumpToTextBuffer &to, const mtpPrime *&from, const mtpPrime *end, mtpTypeId cons, uint32 level, mtpPrime vcons) {
Expand Down
2 changes: 1 addition & 1 deletion cmake

0 comments on commit 1df1b9f

Please sign in to comment.