[vcpkg] Fix bug with missing dependencies introduced in
When a package dependency was not found (has no source control file),
install would exit with "Value was null" when trying to install its default
features, as the dependency would be marked erroneously as found in this
case.
MODIFY
src/vcpkg/dependencies.cpp
src/vcpkg/dependencies.cpp
@@ -454,6 +454,7 @@ namespace vcpkg::Dependencies
return res;
}
}
+ }
// "core" is always an implicit default feature. In case we did not add it as
// a dependency above (e.g. no default features), add it here.
@@ -462,7 +463,6 @@ namespace vcpkg::Dependencies
{
return res;
}
- }
return MarkPlusResult::SUCCESS;
}

[vcpkg] Fix bug with missing dependencies introduced in #2697 (#2819)

When a package dependency was not found (has no source control file),
install would exit with "Value was null" when trying to install its default
features, as the dependency would be marked erroneously as found in this
case.

Signed-off-by: Squareys <squareys@googlemail.com>