I tried the fix in this post and it worked.
I basically added set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
to the root OpenCV CMakeLists.txt.
I tried the fix in this post and it worked.
I basically added set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
to the root OpenCV CMakeLists.txt.