diff --git a/curl-sys/build.rs b/curl-sys/build.rs index a451b2440..6c1cdbb47 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -36,7 +36,7 @@ fn main() { } // Next, fall back and try to use pkg-config if its available. - if windows { + if target.contains("msvc") { if try_vcpkg() { return; }