Skip to content

Commit

Permalink
Merge pull request #1448 from robotology/GiulioRomualdi-patch-1
Browse files Browse the repository at this point in the history
Add include fetchcontent in Fetchonnxruntimebinaries.cmake
  • Loading branch information
traversaro authored Jul 31, 2023
2 parents e99d9ed + 3932999 commit d5f3d72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/Fetchonnxruntimebinaries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ endif()

set(onnxruntimebinaries_URL "https://github.com/microsoft/onnxruntime/releases/download/v${onnxruntimebinaries_VERSION}/onnxruntime-linux-${onnxruntimebinaries_ARCH}-${onnxruntimebinaries_VERSION}.tgz")

# include FetchContent
include(FetchContent)

FetchContent_Declare(
onnxruntimebinaries
URL ${onnxruntimebinaries_URL}
Expand Down

0 comments on commit d5f3d72

Please sign in to comment.