Hello,
I am trying to add opencv_contrib to opencv 4.0.1, i am using CMake in visual studio 2017, and Windows 10, i followed the steps here : https://github.com/opencv/opencv_contrib
but in step 6 when i click configure, i get this error :
CMake Error at C:/opencv/sources/opencv/sources/cmake/OpenCVUtils.cmake:704 (pkg_check_modules): Unknown CMake command "pkg_check_modules". Call Stack (most recent call first):
i seash some solution like this : https://stackoverflow.com/questions/43772663/error-in-using-cmake-to-build-opencv3-2
but it's not working for me, i need your help and thank you;