[cmake-developers] [CMake 0013036]: Eclipse Generator can't determine the eclipse version correctly if eclipse is called via a symlink

Mantis Bug Tracker mantis at public.kitware.com
Sun Mar 11 12:53:09 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13036 
====================================================================== 
Reported By:                Felix Schwitzer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13036
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-03-11 12:53 EDT
Last Modified:              2012-03-11 12:53 EDT
====================================================================== 
Summary:                    Eclipse Generator can't determine the eclipse
version correctly if eclipse is called via a symlink
Description: 
I call eclipse via a symlink $HOME/bin/eclipse to allow easily switching between
different eclipse versions.
In this case, the CMakeFindEclipseCDT4.cmake doesn't detect the version
correctly.
A fix would be easy if ones uses REALPATH instead of PATH in
CMakeFindEclipseCDT4.cmake at line 23.
The fix is so trivial that i didn't create a patch for this, sorry.
 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-11 12:53 Felix SchwitzerNew Issue                                    
======================================================================




More information about the cmake-developers mailing list