From ab45819f6fff0be1eea14d72e85b9681c16829b3 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Wed, 4 Mar 2026 21:52:48 -0500 Subject: [PATCH] [ci] Specify exact OpenCV features in vcpkg manifest (#8653) This allows us to skip building things we don't need, like the ML libraries or QR code scanning. This cuts the vcpkg configure time down by 50%. --- vcpkg.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/vcpkg.json b/vcpkg.json index 53f6d50fb5..9959409482 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -2,7 +2,22 @@ "name": "main", "version-string": "latest", "dependencies": [ - "opencv", + { + "name": "opencv4", + "default-features": false, + "features": [ + "calib3d", + "dshow", + "fs", + "highgui", + "intrinsics", + "jpeg", + "msmf", + "png", + "thread", + "win32ui" + ] + }, "fmt", "libuv", "libssh"