View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001368 | CMake | public | 2004-11-19 10:19 | 2005-01-28 13:28 | |||||
Reporter | Troels Frimor | ||||||||
Assigned To | System Admin | ||||||||
Priority | low | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001368: GET_FILENAME_COMPONENT with cache has no value | ||||||||
Description | The command: GET_FILENAME_COMPONENT(var_1 file_1 PATH CACHE) does not put any value in the var_1(it is empty). Even though the file do exist. The command without CACHE works fine: GET_FILENAME_COMPONENT(var_1 file_1 PATH) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0001997) System Admin (reporter) 2005-01-28 13:28 |
I tested this on CMake 2.0.5 and it works fine. Here is my code: SET(file "/usr/local/bin/mencoder") GET_FILENAME_COMPONENT(var_1 ${file} PATH CACHE) GET_FILENAME_COMPONENT(var_2 ${file} PATH) MESSAGE("[${var_1}] [${var_2}]") |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |