diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-24 11:02:57 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-24 11:02:57 -0700 |
| commit | d126acab7bc5789e8f75197c2ac1fda03584caba (patch) | |
| tree | 9f72a21b62c7872a39c519a6814c036a12b5b4d9 | |
| parent | ed9bb364468717b5b1f55980556935fac2f8e8a5 (diff) | |
| download | vcpkg-d126acab7bc5789e8f75197c2ac1fda03584caba.tar.gz vcpkg-d126acab7bc5789e8f75197c2ac1fda03584caba.zip | |
[vcpkg integrate] Do nothing on linux instead of showing error message
| -rw-r--r-- | toolsrc/src/vcpkg/commands.integrate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/commands.integrate.cpp b/toolsrc/src/vcpkg/commands.integrate.cpp index 7061a3984..2e1750c80 100644 --- a/toolsrc/src/vcpkg/commands.integrate.cpp +++ b/toolsrc/src/vcpkg/commands.integrate.cpp @@ -392,8 +392,10 @@ With a project open, go to Tools->NuGet Package Manager->Package Manager Console paths.scripts / "addPoshVcpkgToPowershellProfile.ps1"); Checks::exit_success(VCPKG_LINE_INFO); } -#endif Checks::exit_with_message(VCPKG_LINE_INFO, "Unknown parameter %s for integrate", args.command_arguments[0]); +#else + Checks::exit_success(VCPKG_LINE_INFO); +#endif } } |
