Video tutorial for the VCPKG package manager will teach you how to set up Cmake project with OpenCV 4 installed by VCPKG.

The first video of the VCPKG series:

https://www.funvisiontutorials.com/2023/12/video-tutorial-vcpkg-for-opencv.html

Related tutorial Cmake articles:

https://www.funvisiontutorials.com/2023/11/opencv-installed-by-vcpkg-package.html

VCPKG Visual Studio integration:

https://www.funvisiontutorials.com/2023/10/opencv-installed-by-vcpkg-package.html

VCPKG tips:

https://www.funvisiontutorials.com/2023/12/opencv-installation-and-productivity.html