View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003593 | CMake | CMake | public | 2006-08-10 05:23 | 2006-08-17 08:52 | ||||
Reporter | axel.roebel | ||||||||
Assigned To | Brad King | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003593: RPATH to source directory remains after installation | ||||||||
Description | Having set CMAKE_INSTALL_RPATH_USE_LINK_PATH to on I am astonished to see the rpath after installation to still contain source directory. As far as I understand the documentation the installed file rpath should only contain link directories outside the source. While this is not so much a problem because it is the last entry in the list of path it probably should not be there. I am using unix makefile generator. cheers | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0004654) Brad King (manager) 2006-08-16 09:59 |
The following code in cmLocalGenerator.cxx implements the CMAKE_INSTALL_RPATH_USE_LINK_PATH feature: else if(use_link_rpath) { // Do not add any path inside the source or build tree. const char* topSourceDir = this->Makefile->GetHomeDirectory(); const char* topBinaryDir = this->Makefile->GetHomeOutputDirectory(); if(!cmSystemTools::ComparePath(libDir->c_str(), topSourceDir) && !cmSystemTools::ComparePath(libDir->c_str(), topBinaryDir) && !cmSystemTools::IsSubDirectory(libDir->c_str(), topSourceDir) && !cmSystemTools::IsSubDirectory(libDir->c_str(), topBinaryDir)) { runtimeDirs.push_back(fullLibPath); } } What are your source and binary trees and what paths to them remain in the rpath after installation? |
(0004658) axel.roebel (reporter) 2006-08-17 06:17 |
I rechecked and the path to source-dir is no longer there. This is quite astonishing. It may be due to the fact that I updated from cmake 2.4.2 to cmake 2.4.3 and did not clean the cache? Anyway seems to be no bug. Thanks for having a look. |
(0004659) Brad King (manager) 2006-08-17 08:52 |
I'm not sure how a 2.4.2 -> 2.4.3 upgrade could affect this, but since you can no longer duplicate the problem I'll close the bug for now. If you encounter it again please re-open. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |