<br>In the cmake FAQ, it indicates that cmake will use the DESTDIR on the command line as the root of the install path.<br><a href="http://www.vtk.org/Wiki/CMake_FAQ">http://www.vtk.org/Wiki/CMake_FAQ</a> (item 8.1, as of April 2009)<br>
<br>What is the level of precedence for this variable setting, with regard to cache values that are set at the time of cmake configuration (using -D&lt;var&gt;:&lt;type&gt;=&lt;val&gt;)?  That is, if cmake is called with something like -DCMAKE_INSTALL_PREFIX:PATH=${prefix}, will &#39;gmake install DESTDIR=${anotherPrefix}&#39; use the cache variable setting for ${prefix} or will it use the command line setting for ${anotherPrefix} when setting rpath in dynamic libs.<br>
<br>Furthermore, what is the relationship between these variable settings for the install path and, on OSX, the setting for CMAKE_INSTALL_NAME_DIR?  Does this variable interact in any way with the DESTDIR command line setting (for dynamic library builds)?<br>
<br>Thanks in advance,<br>Darren<br><br>