[CMake] return value of find_library

David Cole david.cole at kitware.com
Thu Sep 22 14:39:06 EDT 2011


It should always be a full path for a valid found library. Under what
circumstances are you getting exactly "mylib" ... ?


On Thu, Sep 22, 2011 at 11:26 AM, Yifei Li <yifli at mtu.edu> wrote:
> Hi all,
>
> Say I have find_library(MYLIB mylib  PATHS …) ,   I don't understand why MYLIB sometimes is a full path to mylib and sometimes only contains 'mylib'.
>
> Thanks
>
> Yifei
>
> --
>
> 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
>


More information about the CMake mailing list