aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/PrecompiledHeader-cmake.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-07 08:45:26 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-07 14:23:41 -0300
commit1bd4c0e26c9899352b77c29ecbccfb7975d079df (patch)
treec4816a7fa13b98e42b65509e1ae6f7c60735a76b /testing/telegram-desktop/PrecompiledHeader-cmake.patch
parent6d75995e1daf306833b649a105027164d0da007e (diff)
downloadaports-1bd4c0e26c9899352b77c29ecbccfb7975d079df.tar.bz2
aports-1bd4c0e26c9899352b77c29ecbccfb7975d079df.tar.xz
testing/telegram-desktop: upgrade to 1.7.3
Diffstat (limited to 'testing/telegram-desktop/PrecompiledHeader-cmake.patch')
-rw-r--r--testing/telegram-desktop/PrecompiledHeader-cmake.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/testing/telegram-desktop/PrecompiledHeader-cmake.patch b/testing/telegram-desktop/PrecompiledHeader-cmake.patch
index d0d6bce829..e576b372d2 100644
--- a/testing/telegram-desktop/PrecompiledHeader-cmake.patch
+++ b/testing/telegram-desktop/PrecompiledHeader-cmake.patch
@@ -1,13 +1,5 @@
--- a/Telegram/gyp/PrecompiledHeader.cmake
+++ b/Telegram/gyp/PrecompiledHeader.cmake
-@@ -79,7 +79,6 @@ function(export_all_flags _filename _source_name_for_flags)
- endfunction()
-
- function(add_precompiled_header _target _input)
-- if(CMAKE_COMPILER_IS_GNUCXX)
- get_filename_component(_name ${_input} NAME)
- set(_pch_header "${CMAKE_CURRENT_SOURCE_DIR}/${_input}")
- set(_pch_binary_dir "${CMAKE_CURRENT_BINARY_DIR}/${_target}_pch")
@@ -112,7 +111,7 @@ function(add_precompiled_header _target _input)
set(_compiler_FLAGS "@${_pch_c_flags_file}")
add_custom_command(
@@ -26,10 +18,4 @@
DEPENDS "${_pchfile}" "${_pch_cpp_flags_file}"
IMPLICIT_DEPENDS CXX "${_pch_header}"
COMMENT "Precompiling ${_name} for ${_target} (C++)")
-@@ -161,5 +160,4 @@ function(add_precompiled_header _target _input)
- OBJECT_DEPENDS "${_object_depends}")
- endif()
- endforeach()
-- endif(CMAKE_COMPILER_IS_GNUCXX)
- endfunction()