Most packages in vcpkg use cmake. If library maintainer doesn't do anything too unusual in the CMake config then vcpkg can request ninja builds without any explicit support from the library.