File: 1002-Revert-Workaround-cmake-bug-25222.patch

package info (click to toggle)
telegram-desktop 5.7.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,488 kB
  • sloc: cpp: 756,228; python: 4,383; ansic: 1,505; javascript: 1,366; sh: 884; makefile: 820; objc: 652; xml: 565
file content (21 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Revert "Workaround cmake bug 25222"
 This wasted check is unnecessary in Debian since our version of the ms-gsl
 package has the actual fix of infinite recursion inside std::optional.
 .
 https://github.com/desktop-app/cmake_helpers/commit/2440fc9e87b40b7224e927bfc3b914146d0cd4cf
Bug-Debian: https://bugs.debian.org/1051289

--- a/cmake/external/gsl/CMakeLists.txt
+++ b/cmake/external/gsl/CMakeLists.txt
@@ -20,11 +20,6 @@ if (DESKTOP_APP_USE_PACKAGED)
     endif()
 endif()
 
-# https://gitlab.kitware.com/cmake/cmake/-/issues/25222
-if (NOT EXISTS ${third_party_loc}/GSL/include)
-    message(FATAL_ERROR "Guidelines Support Library is not found")
-endif()
-
 target_include_directories(external_gsl SYSTEM
 INTERFACE
     ${third_party_loc}/GSL/include