title: What is CMake equivalent of 'configure --prefix=DIR && make all install '?
body: <p>I do <code>cmake . &amp;&amp; make all install</code>. This works, but installs to <code>/usr/local</code>.</p>
  
  <p>I need to install to a different prefix (for example, to <code>/usr</code>).</p>
  
  <p>What is the <code>cmake</code> and <code>make</code> command line to install to <code>/usr</code> instead of <code>/usr/local</code>?</p>