Step 1: Use Git or TortoiseGit to clone vcpkg to any location on your hard disk. This is no different than cloning GZDoom from before.
Step 2: Inside the newly-cloned vcpkg folder, run bootstrap-vcpkg.bat (Windows) or bootstrap-vcpkg.sh (other OSes). It should finish fairly quickly. That's fine.
Step 3: Run CMake GUI. If you have a previous CMake build of the source code, you should nuke it entirely. We'll have to do this from scratch.
Step 4: Input the source code and build directories as usual here; if you've built GZDoom before, this step hasn't changed. Now press Configure.

Step 5: Choose whichever version of Visual Studio you want to use (here for me, I only have VS 2022 installed, so that's what it defaults to) and then select "Specifiy toolchain for cross-compiling". It's important to select this, otherwise you won't be able to proceed.

Step 6: In the next dialog, navigate to scripts/buildsystems/vcpkg.cmake that's contained inside the vcpkg folder you cloned earlier. Proceed by clicking on "Finish".

That's it! Sit back and let CMake do its thing. It might take a while because it will download and build stuff for you.
After this point, everything should be the same as pre-vcpkg. Set whatever options you need, and then hit Generate and you'll get your .sln file.
