Re: [PATCH 1/3] cmake: add knob to disable vcpkg
- From
Sibi Siddharthan <sibisiddharthan.github@gmail.com>
- Date
- Jun 4, 2021, 20:55 UTC
- Message-ID
- <CAKiG+9UT+B-kFiY7sA8ZedB31xYARbFgSFwQRzktww_S2B_tfA@mail.gmail.com>
- In-Reply-To
- <3170f78daa5fa89f04f61e24c9c64c93ea5b394f.1622828605.git.gitgitgadget@gmail.com>
On Fri, Jun 4, 2021 at 11:13 PM Matthew Rogers via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 7 quoted lines
> -if(WIN32) > + > +if (WIN32 AND NOT NO_VCPKG) > + set(USING_VCPKG TRUE) > +else() > + set(USING_VCPKG FALSE) > +endif()
I think it would be better if we could have an option for this knob. Maybe like this
option(NO_VCPKG "Don't use vcpkg for obtaining dependencies. Only applicable to Windows platforms" OFF)
I would prefer to use `USE_VCPKG`.
Thank You, Sibi Siddharthan