title: CMake - could not find any instance of Visual Studio
body: <p>I'm trying to set up OpenCV with GPU.
  For that I'm using CMake 3.23.0.</p>
  <p>After setting source code, builder folder and clicking enter i end with this:</p>
  <blockquote>
  <p>CMake Error at CMakeLists.txt:113 (enable_language):   Generator</p>
  <pre><code>Visual Studio 17 2022
  </code></pre>
  <p>could not find any instance of Visual Studio.</p>
  </blockquote>
  <p>CMakeOutput.log:</p>
  <blockquote>
  <p>The system is: Windows - 10.0.19043 - AMD64</p>
  </blockquote>
  <p>I already have install VS 2017 with Visual C++ Tools for CMake, and reboot twice - still recive the same errors.</p>
  <p>What I'm doing wrong?</p>