title: CMAKE_C_COMPILER not set, after EnableLanguage
body: <p>I installed CMake on windows in addition to gcc and g++ compiler
  I added the variables to the path but still getting the following error could you please help.</p>
  <p><a href="https://i.stack.imgur.com/rtjF0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rtjF0.png" alt="enter image description here" /></a></p>
  <pre><code>-- Building for: NMake Makefiles
  CMake Error at CMakeLists.txt:6 (project):
    Running
  
     'nmake' '-?'
  
    failed with:
  
     The system cannot find the file specified
  
  
  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  See also &quot;C:/Users/DEANHOS/Desktop/peer/cmake tutorial/codeAndTech/sample/CMakeFiles/CMakeOutput.log&quot;.
  
  </code></pre>