[CMake] Not resolving Symlinks at all

Michael Jackson mike.jackson at bluequartz.net
Tue Feb 26 11:24:46 EST 2013


I fell like an idiot. Thanks. That is the problem. Just have to tell my self to "slow down"..
Thanks
--
Mike Jackson <www.bluequartz.net>

On Feb 26, 2013, at 11:05 AM, Kornel Benko wrote:

> Am Dienstag, 26. Februar 2013 um 10:52:36, schrieb Michael Jackson <mike.jackson at bluequartz.net>
> > I have the following code:
> > 
> > message(STATUS "Found HDFLibrary ${HDF5_LIBRARY_RELEASE}")
> > 
> > if(IS_SYMLINK ${HDF_LIBRARY_DEBUG})
> >   message(STATUS "SYMLINK: ${HDF_LIBRARY_DEBUG}")
> >   get_filename_component(test ${HDF_LIBRARY_DEBUG} REALPATH)
> >   message(STATUS "Real Path: ${test}")
> > endif()
> > if(IS_SYMLINK ${HDF_LIBRARY_RELEASE})
>  
> You surely mean ${HDF5_LIBRARY_RELEASE} here.
>  
> >   message(STATUS "SYMLINK: ${HDF_LIBRARY_RELEASE}")
> >   get_filename_component(test ${HDF_LIBRARY_RELEASE} REALPATH)
> >   message(STATUS "Real Path: ${test}")
> > endif()
> > 
> > The issue is that I am not dropping into the "IF(IS_SYMLINK)"
> > conditional. The HDF5_LIBRARY_RELEASE is
> > /home/mjackson/DREAM3D_SDK/hdf5-1.8.10/lib/libhdf5.so and if we do an
> > "ls" on the parent directory we get this:
>  
> OK, but you ask for "${HDF_LIBRARY_RELEASE}", not for "${HDF5_LIBRARY_RELEASE}"
>  
> 	Kornel
> --



More information about the CMake mailing list