Skip to content

Commit

Permalink
fix reference to Microsoft.GSL::GSL in CMake build scripts when enabl…
Browse files Browse the repository at this point in the history
…ing cuda
  • Loading branch information
bverhagen committed Oct 16, 2023
1 parent f7341e8 commit 46e2526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/external/onnxruntime_external_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ if(onnxruntime_USE_CUDA)
URL ${DEP_URL_microsoft_gsl}
URL_HASH SHA1=${DEP_SHA1_microsoft_gsl}
PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/gsl/1064.patch
FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL
)
else()
FetchContent_Declare(
Expand Down

0 comments on commit 46e2526

Please sign in to comment.