summarylogtreecommitdiffstats
path: root/CMakeLists.inj
blob: 24ed27799bce75c3bc7ff35b67374f847b112d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# ------------- 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_export ../../Telegram/SourceFiles/export/export_pch.h)

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