How to download ancillary files during build with wget from Google Drive

Rather than trying to call the wget command directly, you might be better off using the ExternalData module for CMake and have it do the downloading for you.

https://cmake.org/cmake/help/latest/module/ExternalData.html

Just point it at the public URL for your Google Drive file.