Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake+Rust: Fix offline builds w. vendored git repos
Some builds using the tarball with the vendored Rust dependencies are failing. The onenote-rs dependency is presently tied to a git branch from github rather than using a release from crates.io. This is the differing factor though I'm unsure why it is causing the build to try to update the repo rather than just building the vendored source. This commit adds a `--offline` parameter to the build options if the vendored source is detected, in an attempt to force Cargo to use what it has and stay offline.
- Loading branch information