[−][src]Function vcpkg::find_package
pub fn find_package(package: &str) -> Result<Library, Error>
Find the package package
in a Vcpkg tree.
Emits cargo metadata to link to libraries provided by the Vcpkg package/port named, and any (non-system) libraries that they depend on.
This will select the architecture and linkage based on environment variables and build flags as described in the module docs.