aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-16 00:27:02 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-16 00:27:02 -0800
commit053608f47b61a972ea35b26dfb4bd858edd2e709 (patch)
treeaf74a663323ce342684a3d4a1c492ba2877e24db
parent31cda2b3de436109b271c9a9ace42c3eb4d80dc3 (diff)
downloadvcpkg-053608f47b61a972ea35b26dfb4bd858edd2e709.tar.gz
vcpkg-053608f47b61a972ea35b26dfb4bd858edd2e709.zip
Fix build command not printing out the missing dependencies on fail
-rw-r--r--toolsrc/src/commands_build.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_build.cpp b/toolsrc/src/commands_build.cpp
index 03a4b944b..10e1c7566 100644
--- a/toolsrc/src/commands_build.cpp
+++ b/toolsrc/src/commands_build.cpp
@@ -154,7 +154,7 @@ namespace vcpkg::Commands::Build
}),
unmet_dependencies.end());
- Checks::check_exit(unmet_dependencies.empty());
+ Checks::check_exit(!unmet_dependencies.empty());
System::println(System::color::error, "The build command requires all dependencies to be already installed.");
System::println("The following dependencies are missing:");
System::println("");