diff '--color=auto' -ur onnxruntime-1.27.0.orig/cmake/external/onnxruntime_external_deps.cmake onnxruntime-1.27.0/cmake/external/onnxruntime_external_deps.cmake
--- onnxruntime-1.27.0.orig/cmake/external/onnxruntime_external_deps.cmake	2026-06-19 23:20:41.717960908 +0200
+++ onnxruntime-1.27.0/cmake/external/onnxruntime_external_deps.cmake	2026-06-19 23:24:03.265292097 +0200
@@ -411,26 +411,6 @@
   endif()
 endif()
 
-onnxruntime_fetchcontent_declare(
-  GSL
-  URL ${DEP_URL_microsoft_gsl}
-  URL_HASH SHA1=${DEP_SHA1_microsoft_gsl}
-  # Stringify fix for GSL_SUPPRESS on MSVC (C4875). Remove when GSL ships a release
-  # containing microsoft/GSL#1213 (commit 543d0dd).
-  PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/gsl/1213.patch
-  EXCLUDE_FROM_ALL
-  FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL
-)
-set(GSL_TARGET "Microsoft.GSL::GSL")
-set(GSL_INCLUDE_DIR "$<TARGET_PROPERTY:${GSL_TARGET},INTERFACE_INCLUDE_DIRECTORIES>")
-onnxruntime_fetchcontent_makeavailable(GSL)
-
-if (NOT GSL_FOUND AND NOT onnxruntime_BUILD_SHARED_LIB)
-  install(TARGETS GSL EXPORT ${PROJECT_NAME}Targets
-  ARCHIVE  DESTINATION ${CMAKE_INSTALL_LIBDIR}
-  LIBRARY  DESTINATION ${CMAKE_INSTALL_LIBDIR}
-  RUNTIME  DESTINATION ${CMAKE_INSTALL_BINDIR})
-endif()
 
 find_path(safeint_SOURCE_DIR NAMES "SafeInt.hpp")
 if(NOT safeint_SOURCE_DIR)
@@ -593,7 +573,7 @@
 
 set(onnxruntime_EXTERNAL_LIBRARIES ${onnxruntime_EXTERNAL_LIBRARIES_XNNPACK} ${WIL_TARGET} nlohmann_json::nlohmann_json
                                    ONNX::onnx ONNX::onnx_proto ${PROTOBUF_LIB} re2::re2 Boost::mp11 safeint_interface
-                                   flatbuffers::flatbuffers ${GSL_TARGET} ${ABSEIL_LIBS} date::date Eigen3::Eigen)
+                                   flatbuffers::flatbuffers ${ABSEIL_LIBS} date::date Eigen3::Eigen)
 
 # The source code of onnx_proto is generated, we must build this lib first before starting to compile the other source code that uses ONNX protobuf types.
 # The other libs do not have the problem. All the sources are already there. We can compile them in any order.
