title: How to specify ./configure's parameters '--includedir' and '--libdir' to cmake
body: <p>Question about installing <code>log4cplus</code>.</p>
  
  <p>log4cplus has two way to make &amp; install.</p>
  
  <ol>
  <li><p><code>./configure &amp;&amp; make &amp;&amp; make install</code></p></li>
  <li><p><code>cmake xxx &amp;&amp; make &amp;&amp; make install</code></p></li>
  </ol>
  
  <p>When I use the 1st one, parameters <code>--includedir=PATH</code> and <code>--libdir=PATH</code> can be specified to <code>configure</code>, because I want to install them into different paths.</p>
  
  <p>How can I specify the two equivalent parameters to <code>cmake</code>?</p>
  
  <p>Thanks!</p>