diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-07-08 13:52:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 13:52:53 -0700 |
| commit | 0c95d75d08a2be8a0d51cc35581f43832000271f (patch) | |
| tree | 701d0cc9f803ce9ba53f1ca4b9c2c9d515430c78 | |
| parent | eedecc033de8923a0148f7eb576de3bc3411bb54 (diff) | |
| download | vcpkg-0c95d75d08a2be8a0d51cc35581f43832000271f.tar.gz vcpkg-0c95d75d08a2be8a0d51cc35581f43832000271f.zip | |
[vcpkg] Ignore dependencies not found errors when downloading mode (#12323)
| -rw-r--r-- | toolsrc/src/vcpkg/build.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/build.cpp b/toolsrc/src/vcpkg/build.cpp index e7e25d738..1babf4738 100644 --- a/toolsrc/src/vcpkg/build.cpp +++ b/toolsrc/src/vcpkg/build.cpp @@ -954,7 +954,7 @@ namespace vcpkg::Build }
}
- if (!missing_fspecs.empty())
+ if (!missing_fspecs.empty() && !Util::Enum::to_bool(action.build_options.only_downloads))
{
return {BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES, std::move(missing_fspecs)};
}
|
