> If I understand correctly, it's this second point which causes your
> astonishment, but it already happens during the build phase in the
> build tree, not just when installing with "make install", right?

Yes,  this is indeed my astonishment. I understand that for 'normal' projects 
this re-link in the build tree will be almost unnoticeable. Unfortunately in 
our project we build at least one executable using these libraries that is a 
code generator and therefore all generated code for many other libraries gets 
regenerated, re-compiled and re-linked. It is a major re-build just for 
changing the length of the installation directory. So, I see that the only 
solution I have is to avoid using CMAKE_INSTALL_RPATH. Thanks very much for 
your explanations.
Regards,

Pere

-------------------------------------------------------------
Pere Mato  CERN, PH Department, CH 1211 Geneva 23, Switzerland
          e-mail: pere.m...@cern.ch      tel: +41 22 76 78696
          fax:  +41 22 76 68792            gsm: +41 76 48 70855


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to