aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_build.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_build.cpp')
-rw-r--r--toolsrc/src/commands_build.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_build.cpp b/toolsrc/src/commands_build.cpp
index 98f0cbbb0..310a9c829 100644
--- a/toolsrc/src/commands_build.cpp
+++ b/toolsrc/src/commands_build.cpp
@@ -9,6 +9,7 @@
#include "vcpkg_Environment.h"
#include "metrics.h"
#include "vcpkg_Enums.h"
+#include "PostBuildLint_BuildInfo.h"
namespace vcpkg::Commands::Build
{
@@ -127,7 +128,7 @@ namespace vcpkg::Commands::Build
exit(EXIT_SUCCESS);
}
- const expected<SourceParagraph> maybe_spgh = try_load_port(port_dir);
+ const expected<SourceParagraph> maybe_spgh = Paragraphs::try_load_port(port_dir);
Checks::check_exit(!maybe_spgh.error_code(), "Could not find package named %s: %s", spec, maybe_spgh.error_code().message());
const SourceParagraph& spgh = *maybe_spgh.get();