[cmake-developers] [CMake 0013682]: file( RELATIVE_PATH ) Result Depends On Where Build Directory Is Located

Mantis Bug Tracker mantis at public.kitware.com
Tue Nov 13 02:39:52 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13682 
====================================================================== 
Reported By:                Janne Rönkkö
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13682
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-11-13 02:39 EST
Last Modified:              2012-11-13 02:39 EST
====================================================================== 
Summary:                    file( RELATIVE_PATH ) Result Depends On Where Build
Directory Is Located
Description: 
If build directory is under the directory containing main CMakeLists.txt slash
(/) is appended to the result but if the directory is not under the directory
containing CMakeLists.txt slash is not added to the resulting string.

Steps to Reproduce: 
Extract the files.tar and run demonstrate.sh:

sh demonstrate.sh

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-13 02:39 Janne Rönkkö   New Issue                                    
2012-11-13 02:39 Janne Rönkkö   File Added: files.tar                        
======================================================================




More information about the cmake-developers mailing list