Re: [CMake] FIND_XXX problem with symlinks when using ENV

2010-02-22 Thread Marcel Loose
On Sun, 2010-02-21 at 16:37 +0100, Alexander Neundorf wrote: On Friday 19 February 2010, Marcel Loose wrote: Hi all, I've noticed a problematic behaviour with the FIND_XXX macros when using ENV in either PATHS or HINTS: symbolic links get converted to the real paths. This happens with

Re: [CMake] FIND_XXX problem with symlinks when using ENV

2010-02-21 Thread Alexander Neundorf
On Friday 19 February 2010, Marcel Loose wrote: Hi all, I've noticed a problematic behaviour with the FIND_XXX macros when using ENV in either PATHS or HINTS: symbolic links get converted to the real paths. This happens with cmake 2.6.x and 2.8.0. Is this a bug? No. Ok, longer answer: why

[CMake] FIND_XXX problem with symlinks when using ENV

2010-02-19 Thread Marcel Loose
Hi all, I've noticed a problematic behaviour with the FIND_XXX macros when using ENV in either PATHS or HINTS: symbolic links get converted to the real paths. This happens with cmake 2.6.x and 2.8.0. Is this a bug? Here's an example: $ ls -l /opt/hdf5 lrwxrwxrwx 1 root root 18 2009-09-21 10:08