The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12580 
====================================================================== 
Reported By:                arrowdodger
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12580
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2011-11-16 11:39 EST
Last Modified:              2011-11-16 11:39 EST
====================================================================== 
Summary:                    get_filename_component behavior depends on CACHE
keyword
Description: 
I'm running attached file with `cmake -P` and see this:

- DIR: /usr/local/include/dir
-- DIR: /usr/local/include

which is excepted. However, when i add CACHE keyword to the second
get_filename_component() invocation i see this:

-- DIR: /usr/local/include/dir
-- DIR: /usr/local/include/dir

Not sure if it's a bug, but looks suspicious.

Steps to Reproduce: 
Run attached script with `cmake -P`
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-11-16 11:39 arrowdodger    New Issue                                    
2011-11-16 11:39 arrowdodger    File Added: get_filename_cache.cmake            
       
======================================================================

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to