Skip to content

Commit

Permalink
Add include fetchcontent in Fetchonnxruntimebinaries.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi authored Jul 24, 2023
1 parent 833b976 commit 3932999
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 3932999

Please sign in to comment.