summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/CMakeLists.inj
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2017-12-18 23:35:45 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2017-12-18 23:35:45 +0000
commit857f98b9e47903e4c83233b8ac528d5e15eafaf9 (patch)
tree72cefbd5c06404a45785e358f3436341ed918381 /net-im/telegram-desktop/files/CMakeLists.inj
parentRemove audio/last.fm. last.fm radio shutdown in March 2014. (diff)
New port: net-im/telegram-desktop: Telegram Desktop messaging app
PR: 224193 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D13434
Notes
Notes: svn path=/head/; revision=456694
Diffstat (limited to 'net-im/telegram-desktop/files/CMakeLists.inj')
-rw-r--r--net-im/telegram-desktop/files/CMakeLists.inj14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/CMakeLists.inj b/net-im/telegram-desktop/files/CMakeLists.inj
new file mode 100644
index 000000000000..e039cb1585af
--- /dev/null
+++ b/net-im/telegram-desktop/files/CMakeLists.inj
@@ -0,0 +1,14 @@
+# ------------- 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)
+
+# vim: ft=cmake
+# -------------- debian/CMakeLists.inj end --------------