Look at cmake/find/FindOpenCV.make  and read my comment to you Nathan.