aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/VcpkgCmdArguments.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-23 16:17:53 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-24 16:29:40 -0700
commite237682cad4eaa582a10b5ad03a59ca6449e0795 (patch)
tree6850152901be7ab8ea7462fac572850d68a2dbde /toolsrc/src/VcpkgCmdArguments.cpp
parent8fc510e1f946208409bd8ba1159b2e19bf553909 (diff)
downloadvcpkg-e237682cad4eaa582a10b5ad03a59ca6449e0795.tar.gz
vcpkg-e237682cad4eaa582a10b5ad03a59ca6449e0795.zip
Introduce GlobalState struct
Diffstat (limited to 'toolsrc/src/VcpkgCmdArguments.cpp')
-rw-r--r--toolsrc/src/VcpkgCmdArguments.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/VcpkgCmdArguments.cpp b/toolsrc/src/VcpkgCmdArguments.cpp
index ebf4c5fc5..a72e5226f 100644
--- a/toolsrc/src/VcpkgCmdArguments.cpp
+++ b/toolsrc/src/VcpkgCmdArguments.cpp
@@ -3,6 +3,7 @@
#include "VcpkgCmdArguments.h"
#include "metrics.h"
#include "vcpkg_Commands.h"
+#include "vcpkg_GlobalState.h"
#include "vcpkg_System.h"
namespace vcpkg
@@ -119,7 +120,7 @@ namespace vcpkg
}
if (arg == "--featurepackages")
{
- g_feature_packages = true;
+ GlobalState::feature_packages = true;
continue;
}