Need examples for acceptable FetchContent URLs
I have used FetchContent successfully in many cases, but often run into cases that don't complete with FetchContent, but work ok with wget. For example, this fails
FetchContent_Declare(
resnet50onnx
URL https://s3.amazonaws.com/download.onnx/models/opset_9/resnet50.tar.gz
SOURCE_DIR resnet50onnx
)
FetchContent_GetProperties(resnet50onnx)
if(NOT resnet50onnx_POPULATED)
FetchContent_Populate(resnet50onnx)
endif()
but the following works
wget https://s3.amazonaws.com/download.onnx/models/opset_9/resnet50.tar.gz
So, it isn't evident to me which URLs can be expected to work, or what to use as an alternate. Thanks.