Skip to content

Commit

Permalink
use vcpkg::find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous authored and Byron committed Jul 23, 2023
1 parent c5ac21e commit 6c235db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ fn try_vcpkg() -> bool {
// see if there is a vcpkg tree with zlib installed
match vcpkg::Config::new()
.emit_includes(true)
.lib_names("zlib", "zlib1")
.probe("zlib")
.find_package("zlib")
{
Ok(_) => true,
Err(e) => {
Expand Down

0 comments on commit 6c235db

Please sign in to comment.