On 7/9/07, <b class="gmail_sendername">digicapt - cmake</b> &lt;<a href="mailto:cmake@digicapt.ch">cmake@digicapt.ch</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I&#39;m using the version 2.4-patch 6 of cmake on a Fedora core 6 and I have a problem with the INSTALL : the generated target works fine (in the build directory) but the copy in the destination is changed so that some libraries are not found anymore.
</blockquote><div><br>Maybe you can set INSTALL_RPATH property for your target. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When I check them, the size of the copied file is different.</blockquote><div><br>INSTALL may relink your executables so the size may be different.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 And an nm on the files shows me that all is there but the addresses have changed.<br><br>I have all the needed permissions in /usr/bin/mybin.<br><br>Here is my INSTALL command in my CMakeLists.txt :<br><br>INSTALL(TARGETS mytarget
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUNTIME<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESTINATION /usr/bin/mybin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GROUP_READ GROUP_EXECUTE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WORLD_READ WORLD_EXECUTE)<br><br>
Thank you for your help.<br><br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake
</a><br></blockquote></div><br>