lass="code">cmake -B [build-directory] -S . -DCMAKE_TOOLCHAIN_FILE=[path-to-vcpkg]\scripts\buildsystems\vcpkg.cmake
</pre><p>where <span class="code">[path-to-vcpkg]</span> is the location where vcpkg is installed in your system.
</p><h2>Additional configuration parameters</h2><p>You can pass several parameters to CMake during the configuration stage as <span class="code">-D&lt;parameter&gt;=&lt;value&gt;</span>. For example: 
</p><p class="code">cmake -B build/ -S . -DPARAMETER1=VALUE1 -DPARAMETER2=VALUE2
