title: Why doesn't "CMAKE_MAKE_PROGRAM" variable take effect?
body: <p>I try to use <code>gmake</code> instead of <code>make</code> as the build command. So I modify the <code>CMakeList.txt</code> as following:  </p>
  
  <pre><code>......
  set(CMAKE_MAKE_PROGRAM /usr/local/bin/gmake)
  ......
  </code></pre>
  
  <p>While in <code>CMakeCache.txt</code>, <code>CMAKE_MAKE_PROGRAM</code> is still <code>/usr/bin/make</code>:  </p>
  
  <pre><code>//Path to a program.
  CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
  </code></pre>
  
  <p>How to make "<code>CMAKE_MAKE_PROGRAM</code>" variable take effect?</p>