diff options
author | Matthew Rogers <mattr94@gmail.com> | 2021-06-06 12:02:52 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-11 15:23:00 +0900 |
commit | cd0a852981162fb77f9fac68f231e3d41a99c993 (patch) | |
tree | 9ab120314814488b001f61a327435f3ad111e28d /contrib/hooks | |
parent | Git 2.31.1 (diff) | |
download | tgif-cd0a852981162fb77f9fac68f231e3d41a99c993.tar.xz |
cmake: add knob to disable vcpkg
When building on windows users have the option to use vcpkg to provide
the dependencies needed to compile. Previously, this was used only when
using the Visual Studio generator which was not ideal because:
- Not all users who want to use vcpkg use the Visual Studio
generators.
- Some versions of Visual Studio 2019 moved away from using the
VS 2019 generator by default, making it impossible for Visual
Studio to configure the project in the likely event that it couldn't
find the dependencies.
- Inexperienced users of CMake are very likely to get tripped up by
the errors caused by a lack of vcpkg, making the above bullet point
both annoying and hard to debug.
As such, let's make using vcpkg the default on windows. Users who want
to avoid using vcpkg can disable it by passing -DNO_VCPKG=TRUE.
Signed-off-by: Matthew Rogers <mattr94@gmail.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions