aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_installation.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 17:31:41 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 17:31:41 -0800
commitc91d8e41b60653b652b11c641f7a5b3d3eab7f6b (patch)
tree6e81f76a7f1067bab8efdbb38e7b25338499f87f /toolsrc/src/commands_installation.cpp
parent7a1bc07142577cce32ee88c8d8ef60b386d19b6a (diff)
downloadvcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.tar.gz
vcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.zip
Introduce vcpkg_info.h/cpp
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
-rw-r--r--toolsrc/src/commands_installation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp
index 3f40ba023..460fa1818 100644
--- a/toolsrc/src/commands_installation.cpp
+++ b/toolsrc/src/commands_installation.cpp
@@ -10,6 +10,7 @@
#include "vcpkg_Input.h"
#include "vcpkg_Maps.h"
#include "Paragraphs.h"
+#include "vcpkg_info.h"
namespace vcpkg
{
@@ -50,7 +51,7 @@ namespace vcpkg
" Vcpkg version: %s\n"
"\n"
"Additionally, attach any relevant sections from the log files above."
- , to_string(spec), version());
+ , to_string(spec), Info::version());
TrackProperty("error", "build failed");
TrackProperty("build_error", to_string(spec));
exit(EXIT_FAILURE);