MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0014462 | CMake | CMake | public | 2013-10-08 03:10 | 2015-03-02 08:57 | |||||
Reporter | Ronan Collobert | |||||||||
Assigned To | Clinton Stimpson | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | |||||
Product Version | CMake 2.8.11.2 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0014462: RELATIVE_PATH does not return a relative path when there is a double slash in the original path | |||||||||
Description | Assuming: SET(PATH1 "/foo/bar") SET(PATH2 "/foo/bar//aaa/bbb") FILE(RELATIVE_PATH RELPATH12 "${PATH1}" "${PATH2}") MESSAGE("RELATIVE PATH: ${RELPATH12}") This will print: RELATIVE PATH: /aaa/bbb Which is *not* a relative path in any ways (it should have been "aaa/bbb"). It is common that there are extra / in paths (often occurring when two paths are concatenated), and CMake should not take in account those ones. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-10-08 03:10 | Ronan Collobert | New Issue | ||||||||
2014-02-19 15:58 | Brad King | Relationship added | related to 0012065 | |||||||
2014-09-09 10:33 | Clinton Stimpson | Assigned To | => Clinton Stimpson | |||||||
2014-09-09 10:33 | Clinton Stimpson | Status | new => assigned | |||||||
2014-09-09 10:33 | Clinton Stimpson | Note Added: 0036757 | ||||||||
2014-09-09 10:33 | Clinton Stimpson | Status | assigned => resolved | |||||||
2014-09-09 10:33 | Clinton Stimpson | Resolution | open => fixed | |||||||
2015-03-02 08:57 | Robert Maynard | Note Added: 0038108 | ||||||||
2015-03-02 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|