Am Dienstag, 26. Februar 2013 um 10:52:36, schrieb Michael Jackson 
<mike.jack...@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

Attachment: signature.asc
Description: This is a digitally signed message part.

--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to