summarylogtreecommitdiffstats
path: root/CMakeLists.inj
blob: df938511ae1cbfabf8dc90adb967f75a25002bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ------------- debian/CMakeLists.inj begin -------------
# The text will be putted into the appropriate CMakeLists by debian/rules script

# Avoid rpath compiler parameter
set_target_properties(Telegram PROPERTIES SKIP_BUILD_RPATH TRUE)

# This makes up for patch of gyp utility, supporting precompiled headers. If
# Telegram/Patches/gyp.diff file will be changed in future, please check these
# lines.
include(../../Telegram/gyp/PrecompiledHeader.cmake)
add_precompiled_header(Telegram    ../../Telegram/SourceFiles/stdafx.h)
add_precompiled_header(lib_base    ../../Telegram/SourceFiles/base/base_pch.h)
add_precompiled_header(lib_export  ../../Telegram/SourceFiles/export/export_pch.h)
add_precompiled_header(lib_storage ../../Telegram/SourceFiles/storage/storage_pch.h)

# vim: ft=cmake
# -------------- debian/CMakeLists.inj end --------------