<br>For a config that uses <br><span style="font-family: courier new,monospace;">cmake ... \<br>  -D CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF \<br></span><span style="font-family: courier new,monospace;">  -D CMAKE_SKIP_BUILD_RPATH:BOOL=OFF \<br>
  -D CMAKE_INSTALL_RPATH:STRING=${libInstallPath} \<br>  -D VTK_USE_RPATH \<br>  ...<br style="font-family: courier new,monospace;"></span>

<span style="font-family: courier new,monospace;"></span><br>This provides a build tree with rpath settings specific to the build path.  At the point of installation, all the installation candidates have their rpath reset to the INSTALL_RPATH.<br>
<br>Although the examples were built ( -D BUILD_EXAMPLES:BOOL=ON ), they are not installation candidates - is that right?  It appears that all the executables in ${build.dir}/bin are not in the ${install.dir}/bin/.  How do we get the binary examples into the installation?  Are there any extra CMAKE or VTK variables that can be used on the cmake command line to enable installation and INSTALL_RPATH for the binary examples?<br>
<br>Is there anything like CMAKE_EXE_INSTALL_RPATH that could apply to the binary examples for VTK?  Likewise, something that would apply to the binary testing files for VTK?<br><br>Take care,<br>Darren<br><br>