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
|